[all-commits] [llvm/llvm-project] 5a34ff: fix Polynomial.td doc filename (#88900)

darkbuck via All-commits all-commits at lists.llvm.org
Tue Apr 16 12:31:03 PDT 2024


  Branch: refs/heads/users/darkbuck/spr/x86-fix-mr-variants-of-cfcmov-instr-desc
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a34ff12b8f4a73f5dcd4be1b2575dc38cf13bee
      https://github.com/llvm/llvm-project/commit/5a34ff12b8f4a73f5dcd4be1b2575dc38cf13bee
  Author: Jeremy Kun <jkun at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Polynomial/IR/CMakeLists.txt

  Log Message:
  -----------
  fix Polynomial.td doc filename (#88900)

Not sure how best to test this, but I think it fixes the error
https://github.com/llvm/mlir-www/actions/runs/8699908058/job/23859264085#step:7:1111

Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Co-authored-by: Jacques Pienaar <jpienaar at google.com>


  Commit: b63247627c9e87e898dec5bf0bea255b3f0eec5c
      https://github.com/llvm/llvm-project/commit/b63247627c9e87e898dec5bf0bea255b3f0eec5c
  Author: Ding Fei <fding at feysh.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/Sema/recover-expr-gh88008-nocrash.c

  Log Message:
  -----------
  [AST][RecoveryExpr] Fix a crash on c89/c90 invalid InitListExpr (#88008) (#88014)

Use refactored `CheckForConstantInitializer()` to skip checking expr
with error.

---------

Co-authored-by: Aaron Ballman <aaron at aaronballman.com>


  Commit: d2d4a1bbdc455a30d600743eb59fb1c69205967a
      https://github.com/llvm/llvm-project/commit/d2d4a1bbdc455a30d600743eb59fb1c69205967a
  Author: XChy <xxs_chy at outlook.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/CodeGen/AArch64/and-sink.ll
    M llvm/test/CodeGen/AArch64/combine-comparisons-by-cse.ll
    M llvm/test/CodeGen/Hexagon/vect/zext-v4i1.ll
    M llvm/test/Transforms/JumpThreading/pr79175.ll
    M llvm/test/Transforms/JumpThreading/select.ll
    M llvm/test/Transforms/JumpThreading/thread-prob-7.ll
    R llvm/test/Transforms/JumpThreading/uncond-no-phi.ll
    R llvm/test/Transforms/PhaseOrdering/thread-uncond-bb.ll

  Log Message:
  -----------
  Revert "[JumpThreading] Thread over BB with only an unconditional branch" (#88907)

Reverts llvm/llvm-project#86312


  Commit: 22629bb22a1bea95eebfc9b3171005de107c38f1
      https://github.com/llvm/llvm-project/commit/22629bb22a1bea95eebfc9b3171005de107c38f1
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libcxx/include/__availability
    M libcxx/include/__config
    M libcxx/include/__expected/bad_expected_access.h
    M libcxx/include/__functional/function.h
    M libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/powerpc-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-unknown-freebsd.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.noexceptions.nonew.abilist
    M libcxx/src/CMakeLists.txt
    A libcxx/src/expected.cpp
    M libcxx/src/functional.cpp

  Log Message:
  -----------
  [libc++] Use availability to rely on key functions for bad_expected_access and bad_function_call (#87390)

This patch uses our availability machinery to allow defining a key
function for bad_function_call and bad_expected_access at all times but
only rely on it when we can. This prevents compilers from complaining
about weak vtables and reduces code bloat and the amount of work done by
the dynamic linker.

rdar://111917845


  Commit: 9ddedf07ed80076e0e419940753aeaaf719a09ec
      https://github.com/llvm/llvm-project/commit/9ddedf07ed80076e0e419940753aeaaf719a09ec
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libcxx/.clang-format
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/include/__atomic/atomic.h
    M libcxx/include/__atomic/atomic_flag.h
    M libcxx/include/__config
    M libcxx/include/barrier
    M libcxx/include/latch
    M libcxx/include/semaphore
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_all.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_one.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait_explicit.pass.cpp
    M libcxx/test/std/thread/thread.barrier/arrive.pass.cpp
    M libcxx/test/std/thread/thread.barrier/arrive_and_drop.pass.cpp
    M libcxx/test/std/thread/thread.barrier/arrive_and_wait.pass.cpp
    M libcxx/test/std/thread/thread.barrier/completion.pass.cpp
    M libcxx/test/std/thread/thread.barrier/ctor.compile.pass.cpp
    M libcxx/test/std/thread/thread.barrier/max.pass.cpp
    M libcxx/test/std/thread/thread.latch/arrive_and_wait.pass.cpp
    M libcxx/test/std/thread/thread.latch/count_down.pass.cpp
    M libcxx/test/std/thread/thread.latch/ctor.pass.cpp
    M libcxx/test/std/thread/thread.latch/max.pass.cpp
    M libcxx/test/std/thread/thread.latch/try_wait.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/acquire.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/binary.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/ctor.compile.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/max.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/release.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/timed.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/try_acquire.pass.cpp

  Log Message:
  -----------
  [libc++] Deprecate the C++20 synchronization library before C++20 (#86410)

When we initially implemented the C++20 synchronization library, we
reluctantly accepted for the implementation to be backported to C++03
upon request from the person who provided the patch. This was when we
were only starting to have experience with the issues this can create,
so we flinched. Nowadays, we have a much stricter stance about not
backporting features to previous standards.

We have recently started fixing several bugs (and near bugs) in our
implementation of the synchronization library. A recurring theme during
these reviews has been how difficult to understand the current code is,
and upon inspection it becomes clear that being able to use a few recent
C++ features (in particular lambdas) would help a great deal. The code
would still be pretty intricate, but it would be a lot easier to reason
about the flow of callbacks through things like
__thread_poll_with_backoff.

As a result, this patch deprecates support for the synchronization
library before C++20. In the next release, we can remove that support
entirely.


  Commit: bd28889732e14ac6baca686c3ec99a82fc9cd89d
      https://github.com/llvm/llvm-project/commit/bd28889732e14ac6baca686c3ec99a82fc9cd89d
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rv64zba.ll

  Log Message:
  -----------
  [RISCV] Add coverage for strength reduction of mul 2^N +/- 3/5/9


  Commit: 1334c034a73b7bf8a7af08be1c33d24a58127c47
      https://github.com/llvm/llvm-project/commit/1334c034a73b7bf8a7af08be1c33d24a58127c47
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M flang/test/Semantics/OpenMP/clause-validity01.f90

  Log Message:
  -----------
  [flang] Fix test after 4078afc6d23e25df6baedad61b224ef86a94d42f

This tests requires the OpenMP runtime to be present, but the way that
the lit config detects it fails when "openmp" is added to RUNTIMES
instead of PROJECTS. This caused the tests to be skipped as unsupported
in local and upstream tests.

The actual bug was a missing word in the message, and putting the check
at the wrong line.


  Commit: bf1ad1d267b1f911cb9846403d2c3d3250a40870
      https://github.com/llvm/llvm-project/commit/bf1ad1d267b1f911cb9846403d2c3d3250a40870
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    A llvm/test/Transforms/VectorCombine/X86/shuffle-of-shuffles.ll

  Log Message:
  -----------
  [VectorCombine][X86] Add initial shuffle-of-shuffles.ll test cover for #88743


  Commit: f8e2ec13a8c6d33cb7b4f37869b4429ddcf43f01
      https://github.com/llvm/llvm-project/commit/f8e2ec13a8c6d33cb7b4f37869b4429ddcf43f01
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M lldb/test/API/functionalities/asan/Makefile
    M lldb/test/API/functionalities/asan/TestMemoryHistory.py
    M lldb/test/API/functionalities/asan/TestReportData.py
    R lldb/test/API/functionalities/libsanitizers/util.py

  Log Message:
  -----------
  Revert "Add asan tests for libsanitizers. (#88349)"

This reverts commit 82f479ba315a417b6cd01a8c2efdc15c26689f2e due to bot breakage.


  Commit: 8cee94e989b5bf6fb6455087d48eb6c6e0e23c54
      https://github.com/llvm/llvm-project/commit/8cee94e989b5bf6fb6455087d48eb6c6e0e23c54
  Author: Harald van Dijk <harald.vandijk at codeplay.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

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

  Log Message:
  -----------
  [RISCV] Fix obvious copy paste error.

CASE_VFMA_OPCODE_VV and CASE_VFMA_CHANGE_OPCODE_VV need to match up if we are
are to avoid "Unexpected opcode" errors, but in CASE_VFMA_CHANGE_OPCODE_VV,
CASE_VFMA_CHANGE_OPCODE_LMULS_MF2 had mistakenly been used instead of
CASE_VFMA_CHANGE_OPCODE_LMULS_MF4.


  Commit: 51b42b762112f2e77d032efd16fa0d9d31cde494
      https://github.com/llvm/llvm-project/commit/51b42b762112f2e77d032efd16fa0d9d31cde494
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/lib/Sema/CMakeLists.txt
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/AST/ast-dump-attr-json.cpp
    M clang/test/Sema/alias-unused-win.cpp
    M clang/test/Sema/alias-unused.cpp
    M utils/bazel/llvm-project-overlay/clang/BUILD.bazel

  Log Message:
  -----------
  Revert "[Sema] Mark alias/ifunc targets used and consider mangled names" (#88919)

Reverts llvm/llvm-project#87130

Bot is broken with clang crash:
https://lab.llvm.org/buildbot/#/builders/272/builds/14063/steps/6/logs/stdio


  Commit: 9d111286322ec99b32467eef3aeec6b588c49f18
      https://github.com/llvm/llvm-project/commit/9d111286322ec99b32467eef3aeec6b588c49f18
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libclc/CMakeLists.txt

  Log Message:
  -----------
  [libclc] Improve clarity of CMake foreach. NFC.

Should be a bit easier to read.


  Commit: 2704ebaf2885a16155ab7144f8dd0dd459d77089
      https://github.com/llvm/llvm-project/commit/2704ebaf2885a16155ab7144f8dd0dd459d77089
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M flang/cmake/modules/AddFlangOffloadRuntime.cmake
    M flang/lib/Decimal/CMakeLists.txt
    M flang/runtime/CMakeLists.txt

  Log Message:
  -----------
  [flang][runtime] Create CUDA PTX OBJECT library target for F18 runtime CUDA build. (#88821)

This is to experiment with distributing F18 runtime CUDA library
in the form of a pure PTX library. The change is under
FLANG_EXPERIMENTAL_CUDA_RUNTIME CMake control.


  Commit: a79783d7ad00c4c10c30f637f4bf13551e47f3dd
      https://github.com/llvm/llvm-project/commit/a79783d7ad00c4c10c30f637f4bf13551e47f3dd
  Author: Robin Caloudis <robin.caloudis at gmx.de>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libc/src/fenv/fegetexceptflag.h
    M libc/src/fenv/fesetexceptflag.h
    M libc/src/fenv/feupdateenv.cpp

  Log Message:
  -----------
  [libc][fenv] Use proxy header (#88787)

Include types `fexcept_t` and `fenv_t ` from corresponding proxy
headers, as they are available since
https://github.com/llvm/llvm-project/pull/88467.


  Commit: 38895e6578f7728cfb3d41d0880a0e9b358d9afd
      https://github.com/llvm/llvm-project/commit/38895e6578f7728cfb3d41d0880a0e9b358d9afd
  Author: Robin Caloudis <robin.caloudis at gmx.de>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libc/src/fenv/CMakeLists.txt

  Log Message:
  -----------
  [libc][fenv] Remove unnecessary dependencies (#88788)

Remove the fenv macro dependency from the CMake files as the underlying targets
do not make use of it. Note that we do not have to worry about
[corresponding Bazel targets](https://github.com/llvm/llvm-project/blob/main/utils/bazel/llvm-project-overlay/libc/BUILD.bazel#L1138-L1288),
as they look good.


  Commit: 1c6b0f779f66494cb597884c1a52e377bde4bc54
      https://github.com/llvm/llvm-project/commit/1c6b0f779f66494cb597884c1a52e377bde4bc54
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineDebugify.cpp
    M llvm/lib/Transforms/Utils/Debugify.cpp
    M llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables-x.mir
    M llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.ll
    M llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir
    M llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
    M llvm/test/CodeGen/Generic/MIRDebugify/multifunction-module.mir
    M llvm/test/DebugInfo/debugify-bogus-dbg-value.ll
    M llvm/test/DebugInfo/debugify-each.ll
    M llvm/test/DebugInfo/debugify-export.ll
    M llvm/test/DebugInfo/debugify-ignore-phi.ll
    M llvm/test/DebugInfo/debugify-original-no-dbg-info.ll
    M llvm/test/DebugInfo/debugify-report-missing-locs-only.ll
    M llvm/test/DebugInfo/debugify.ll
    M llvm/test/DebugInfo/pr37964.ll
    M llvm/test/DebugInfo/salvage-cast-debug-info.ll
    M llvm/test/DebugInfo/verify-di-preserve.ll

  Log Message:
  -----------
  [RemoveDI] Add support for debug records to debugify (#87383)

This patch changes debugify to support debug variable records, and
subsequently to no longer convert modules automatically to intrinsics
when entering debugify.


  Commit: 45eabd1362527d1b3a27a90f7479865785b763ee
      https://github.com/llvm/llvm-project/commit/45eabd1362527d1b3a27a90f7479865785b763ee
  Author: YunQiang Su <syq at debian.org>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M flang/test/Driver/msvc-dependent-lib-flags.f90

  Log Message:
  -----------
  [flang,test] Add -resource-dir option to msvc-dependent-lib-flags.f90 (#88894)

For aarch64-windows-msvc, clang_rt.builtins is placed in windows subdir
instead of triple subdir, and the name of clang_rt.builtins is
clang_rt.builtins-aarch64.lib.

So let's use `-resource-dir` option to fix test failure.

Please see talk for PR#87866.


  Commit: 22e6bf77ad8781810fc81fff4c447c03cdf6f419
      https://github.com/llvm/llvm-project/commit/22e6bf77ad8781810fc81fff4c447c03cdf6f419
  Author: Volodymyr Sapsai <vsapsai at apple.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/include/clang/Serialization/ModuleFileExtension.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/lib/Serialization/GeneratePCH.cpp
    M clang/lib/Serialization/GlobalModuleIndex.cpp
    M clang/lib/Serialization/ModuleFileExtension.cpp
    M clang/lib/Serialization/PCHContainerOperations.cpp

  Log Message:
  -----------
  [unused-includes][Serialization] Remove unused includes. NFC. (#88790)


  Commit: b566810add5b7c5695bdd2c39710b78af9dc83ba
      https://github.com/llvm/llvm-project/commit/b566810add5b7c5695bdd2c39710b78af9dc83ba
  Author: Volodymyr Sapsai <vsapsai at apple.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/include/clang/Serialization/PCHContainerOperations.h

  Log Message:
  -----------
  [unused-includes] PCHContainerOperations uses MemoryBufferRef, not MemoryBuffer. NFC. (#88794)


  Commit: 454d4496970f665200b5b300578894d78405b6ca
      https://github.com/llvm/llvm-project/commit/454d4496970f665200b5b300578894d78405b6ca
  Author: Xing Xue <xingxue at outlook.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M openmp/runtime/src/kmp_dispatch.cpp

  Log Message:
  -----------
  [OpenMP] Use a memory fence before incrementing the dispatch buffer index (#87995)

This patch uses a memory fence in function `__kmp_dispatch_next()` to
flush pending memory write invalidates before incrementing the
`volatile` variable `buffer_index` to fix intermittent time-outs of
OpenMP runtime LIT test cases `env/kmp_set_dispatch_buf.c` and
`worksharing/for/kmp_set_dispatch_buf.c`, noting that the same is needed
for incrementing `buffer_index` in function `__kmpc_next_section()`
(line 2600 of `kmp_dispatch.cpp`).


  Commit: 22bba85d82637d0446928ff6ff41f98583f3d3b2
      https://github.com/llvm/llvm-project/commit/22bba85d82637d0446928ff6ff41f98583f3d3b2
  Author: Xing Xue <xingxue at outlook.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M openmp/runtime/test/tasking/hidden_helper_task/capacity_mix_threads.cpp
    M openmp/runtime/test/tasking/hidden_helper_task/capacity_nthreads.cpp

  Log Message:
  -----------
  [OpenMP][test][AIX] Make 64 the max number of threads for capacity tests in AIX 32-bit (#88739)

This patch makes 64 the max number of threads for 2 capacity tests in
AIX 32-bit mode rather than `XFAIL`ing them.


  Commit: 8137bd9e03d636a27701a85b6efe899f9571cac5
      https://github.com/llvm/llvm-project/commit/8137bd9e03d636a27701a85b6efe899f9571cac5
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

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

  Log Message:
  -----------
  [memprof] Use CSId to construct MemProfRecord (#88362)

We are in the process of referring to call stacks with CallStackId in
IndexedMemProfRecord and IndexedAllocationInfo instead of holding call
stacks inline (both in memory and the serialized format).  Doing so
deduplicates call stacks and reduces the MemProf profile file size.

Before we can eliminate the two fields holding call stacks inline:

- IndexedAllocationInfo::CallStack
- IndexedMemProfRecord::CallSites

we need to eliminate all the read operations on them.

This patch is a step toward that direction.  Specifically, we
eliminate the read operations in the context of MemProfReader and
RawMemProfReader.  A subsequent patch will eliminate the read
operations during the serialization.


  Commit: 8cd8ebe153391993a3668d2ac8d2994d9491f3ef
      https://github.com/llvm/llvm-project/commit/8cd8ebe153391993a3668d2ac8d2994d9491f3ef
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/unittests/CodeGen/RegAllocScoreTest.cpp

  Log Message:
  -----------
  [MLGO] Use double comparison facilities for reg alloc scoring tests (#88862)

This patch switches from using direct equality (ASSERT_EQ) to the
floating point comparison facilities (ASSERT_DOUBLE_EQ) within google
test to avoid weird floating point problems. There is at least one
downstream that maintains a patch for issues cropping up from the direct
equality.


https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/llvm17/allocscore.patch


  Commit: 75054525ae58f26c86e418382164540760871186
      https://github.com/llvm/llvm-project/commit/75054525ae58f26c86e418382164540760871186
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

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

  Log Message:
  -----------
  [clang][Interp] Implement VectorSplat casts


  Commit: 184ba038ac1d444980b3e554b0057f3f30c516ab
      https://github.com/llvm/llvm-project/commit/184ba038ac1d444980b3e554b0057f3f30c516ab
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/addimm-mulimm.ll
    M llvm/test/CodeGen/RISCV/rv64zba.ll

  Log Message:
  -----------
  [RISCV] Avoid matching 3/5/9 * 2^N as 2^N + 2/4/8 (e.g. 24) (#88937)

The former is better as a zero extend can be folded into the sll,
whereas the later currently produces a seperate zext.w due to bad
interactions with other combines.


  Commit: 4082a7554521572a65a5a0008c4661a534df659d
      https://github.com/llvm/llvm-project/commit/4082a7554521572a65a5a0008c4661a534df659d
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/Initialization.h
    M clang/include/clang/Sema/Overload.h
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaOverload.cpp

  Log Message:
  -----------
  Improve stack usage to increase recursive initialization depth (#88546)

We were crashing due to stack exhaustion on rather reasonable C++
template code. After some investigation, I found that we have a
stack-allocated object that was huge: `InitializationSequence` was 7016
bytes. This caused an overflow with deep call stacks in initialization
code.

With these change, `InitializationSequence` is now 248 bytes.

With the original code, testing RelWithDebInfo on Windows 10, all the
tests in SemaCXX took about 6s 800ms. The max template depth I could
reach on my machine using the code in the issue was 708. After that, I
would get `-Wstack-exhausted` warnings until crashing at 976
instantiations.

With these changes on the same machine, all the tests in SemaCXX took
about 6s 500ms. The max template depth I could reach was 1492. After
that, I would get `-Wstack-exhausted` warnings until crashing at 2898
instantiations.

This improves the behavior of #88330 but there's still an outstanding
question of why we run out of stack space and crash in some
circumstances before we're able to issue a diagnostic about stack space
exhaustion.


  Commit: aefff774a0d6f75565243263555f2513ac3c9fdf
      https://github.com/llvm/llvm-project/commit/aefff774a0d6f75565243263555f2513ac3c9fdf
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/test/CXX/drs/dr0xx.cpp
    M clang/test/CXX/drs/dr16xx.cpp
    M clang/test/CXX/drs/dr1xx.cpp
    M clang/test/CXX/drs/dr2xx.cpp
    M clang/test/CXX/drs/dr3xx.cpp
    M clang/test/CXX/drs/dr4xx.cpp
    M clang/test/CXX/drs/dr5xx.cpp
    M clang/test/CXX/drs/dr6xx.cpp

  Log Message:
  -----------
  [clang] Migrate DR tests to `static_assert` (#88611)

This patch touches a number of tests that run in C++98 mode that have
been using array size as a context that requires a constant expression,
replacing it with a `static_assert` backported via a macro. This reduces
noise in expected directives that comes from diagnostics around VLAs.

This patch also showcases that DR tests would benefit from folding in
constant expressions in C++98 mode, but I'm not sure it's even on the
table. If it is, I'd be happy to prepare a PR for that, and rebase this
PR on top of it.

CC @AaronBallman


  Commit: 6b83fe552990966fdad0e5693a79b02b87d9526e
      https://github.com/llvm/llvm-project/commit/6b83fe552990966fdad0e5693a79b02b87d9526e
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rv64zba.ll

  Log Message:
  -----------
  [RISCV] Strength reduce mul by 2^n + 2/4/8 + 1 (#88911)

With zba, we can expand this to (add (shl X, C1), (shXadd X, X)).

Note that this is our first expansion to a three instruction sequence. I
believe this to general be a reasonable tradeoff for most architectures,
but we may want to (someday) consider a tuning flag here.

I plan to support 2^n + (2/4/8 + 1) eventually as well, but that comes
behind 2^N - 2^M. Both are also three instruction sequences.

---------

Co-authored-by: Min-Yih Hsu <min at myhsu.dev>


  Commit: 1c2afbae9af22b58190c10e3517242d01d89d612
      https://github.com/llvm/llvm-project/commit/1c2afbae9af22b58190c10e3517242d01d89d612
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/test/CodeGen/alias.cpp

  Log Message:
  -----------
  [CodeGen,test] Test llvm-libc style alias attribute with UsingShadowDecl

The pattern is quite involved and deserves a specific codegen test.
This test would catch the bug in the first attempt of #87130


  Commit: 5462b27026dee886fb896980d6ad9487200a6cbe
      https://github.com/llvm/llvm-project/commit/5462b27026dee886fb896980d6ad9487200a6cbe
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libcxx/include/__chrono/formatter.h

  Log Message:
  -----------
  [NFC][libc++][TZDB] Refactors argument order. (#85781)

Putting the output reference argument first looks more sensible.


  Commit: a75c9d059791f5d175f6c263d114d59e51b46120
      https://github.com/llvm/llvm-project/commit/a75c9d059791f5d175f6c263d114d59e51b46120
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libcxx/include/__fwd/ios.h
    M libcxx/include/iosfwd
    M libcxx/utils/libcxx/test/modules.py

  Log Message:
  -----------
  [NFC][libc++] Moves ios_base's forward declaration. (#88027)

According to our synopsis it belonged to ios_fwd. This is not true in
the C++11 version of the Standard, I did not validate against C++98.

Moving this to ios's forward where it's declared in the standard allows
removing a module quirk. An earlier removal of std::vectors forward
declaration allows to remove all quirks for the iosfwd module part.

Since iosfwd includes __fwd/ios.h this does not change the required
includes.


  Commit: 9cd3e92f05fcc2c9168a7abc56d08f0d33bfdfdf
      https://github.com/llvm/llvm-project/commit/9cd3e92f05fcc2c9168a7abc56d08f0d33bfdfdf
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libcxx/utils/libcxx/test/modules.py

  Log Message:
  -----------
  [libc++][modules] Removes some validation quirks. (#88031)

Recent unrelated header cleanups caused these quirks to become obsolete.


  Commit: 41a830500aa5556a65198607ec751d8e3254c949
      https://github.com/llvm/llvm-project/commit/41a830500aa5556a65198607ec751d8e3254c949
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/docs/UsingLibcxx.rst
    M libcxx/include/__config
    R libcxx/test/libcxx/depr/enable_removed_cpp17_features.compile.pass.cpp
    R libcxx/test/libcxx/depr/enable_removed_cpp17_features.deprecated.verify.cpp
    R libcxx/test/libcxx/depr/enable_removed_cpp20_features.deprecated.verify.cpp

  Log Message:
  -----------
  [libc++] Removes deprecated _LIBCPP_ENABLE_<VERSION>_REMOVED_FEATURES macros (#88548)

We marked those macros as deprecated in the last release with the intent
of
removing them in LLVM 19. This commit performs the removal.


  Commit: 388da6a31b7ba3062f9306b894656e265b9b33eb
      https://github.com/llvm/llvm-project/commit/388da6a31b7ba3062f9306b894656e265b9b33eb
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libcxx/test/libcxx/containers/sequences/vector/asan.pass.cpp

  Log Message:
  -----------
  [libc++][test] Removes Clang 16 validation. (#88558)


  Commit: 8e0a4a89f940d17b520bbca040981f54195d3ea4
      https://github.com/llvm/llvm-project/commit/8e0a4a89f940d17b520bbca040981f54195d3ea4
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libcxx/docs/BuildingLibcxx.rst

  Log Message:
  -----------
  [libc++][doc] Documents -DLIBCXX_INSTALL_MODULES=ON. (#88547)

Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>


  Commit: 002297bdaa63f3f9f56b0051110ccf48f31c6825
      https://github.com/llvm/llvm-project/commit/002297bdaa63f3f9f56b0051110ccf48f31c6825
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

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

  Log Message:
  -----------
  [gn] port 22629bb22a1b


  Commit: 8debcf03c535e14ee47b14fddfcaeae3f32d1317
      https://github.com/llvm/llvm-project/commit/8debcf03c535e14ee47b14fddfcaeae3f32d1317
  Author: Peiming Liu <peiming at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/Dialect/SparseTensor/invalid.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip.mlir
    A mlir/test/Dialect/SparseTensor/sparse_itertion_licm.mlir

  Log Message:
  -----------
  [mlir][sparse] introduce sparse_tensor.iterate operation (#88807)

A `sparse_tensor.iterate` iterates over a sparse iteration space
extracted from `sparse_tensor.extract_iteration_space` operation
introduced in https://github.com/llvm/llvm-project/pull/88554.

*DO NOT MERGE* before https://github.com/llvm/llvm-project/pull/88554


  Commit: b9556532c7391a2acb77ab0f7d7b36e1dc382b24
      https://github.com/llvm/llvm-project/commit/b9556532c7391a2acb77ab0f7d7b36e1dc382b24
  Author: Peiming Liu <peiming at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/Dialect/SparseTensor/invalid.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip.mlir
    R mlir/test/Dialect/SparseTensor/sparse_itertion_licm.mlir

  Log Message:
  -----------
  Revert "[mlir][sparse] introduce sparse_tensor.iterate operation" (#88953)

Reverts llvm/llvm-project#88807 (merged by mistake)


  Commit: 481bd5d416df7a1d24e18cc81ae782e8701de965
      https://github.com/llvm/llvm-project/commit/481bd5d416df7a1d24e18cc81ae782e8701de965
  Author: Peiming Liu <peiming at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/Dialect/SparseTensor/invalid.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip.mlir

  Log Message:
  -----------
  [mlir][sparse] introduce `sparse_tensor.extract_iteration_space` operation. (#88554)

A `sparse_tensor.extract_space %tensor at %iterator` extracts a *sparse*
iteration space defined `%tensor`, the operation to traverse the
iteration space will be introduced in following PRs.


  Commit: edb711d2f318b17489692b5f85028fab7ed85b83
      https://github.com/llvm/llvm-project/commit/edb711d2f318b17489692b5f85028fab7ed85b83
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/known-bits.ll

  Log Message:
  -----------
  [InstCombine] Update `vector_reduce_and` tests to actually use `llvm.vector.reduce.and`; NFC


  Commit: 5c6af605b307213453a9a043532b9293db21b5c6
      https://github.com/llvm/llvm-project/commit/5c6af605b307213453a9a043532b9293db21b5c6
  Author: mahtohappy <Happy.Kumar at Windriver.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    A clang/test/SemaCXX/PR41441.cpp
    R clang/test/SemaCXX/instantiate-new-placement-size.cpp

  Log Message:
  -----------
  [Clang][Sema] placement new initializes typedef array with correct size (#88902)

Build Failure Fix
Fixes build failures due to #83124


  Commit: b01879ec1ffbd249f9bf3c4f32308443be6ac36b
      https://github.com/llvm/llvm-project/commit/b01879ec1ffbd249f9bf3c4f32308443be6ac36b
  Author: Chao Chen <116223022+chencha3 at users.noreply.github.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
    M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
    M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
    M mlir/test/Dialect/XeGPU/XeGPUOps.mlir
    A mlir/test/Dialect/XeGPU/invalid.mlir

  Log Message:
  -----------
  [MLIR][XeGPU] Add XeGPU scattered ops (#86594)

- Extended TensorDescAttr with scattered attribute
- Add scattered ops: CreateDescOp, PrefetchOp, LoadGatherOp,
StoreScatterOp, UpdateOffsetOp
- Add a block op: UpdateNdOffsetOp

---------

Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
Co-authored-by: Adam Siemieniuk <adam.siemieniuk at intel.com>


  Commit: 9ec8c961664de3b3fcc1cbd5238e40ec8c9bdddb
      https://github.com/llvm/llvm-project/commit/9ec8c961664de3b3fcc1cbd5238e40ec8c9bdddb
  Author: Samira Bazuzi <bazuzi at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/docs/tools/clang-formatted-files.txt
    A clang/include/clang/Analysis/FlowSensitive/ASTOps.h
    M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
    M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
    A clang/lib/Analysis/FlowSensitive/ASTOps.cpp
    M clang/lib/Analysis/FlowSensitive/CMakeLists.txt
    M clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
    M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
    M clang/lib/Analysis/FlowSensitive/Transfer.cpp

  Log Message:
  -----------
  [clang][dataflow] Expose getReferencedDecls and relocate free functions. (#88754)

Moves free functions from DataflowEnvironment.h/cc and
DataflowAnalysisContext.h/cc to RecordOps and a new ASTOps and exposes
them as needed for current use and to expose getReferencedDecls for
out-of-tree use.

Minimal change in functionality, only to modify the return type of
getReferenceDecls to return the collected decls instead of using output
params.

Tested with `ninja check-clang-tooling`.


  Commit: bbd64c4ddf08be468ab4eb4c161e28bdab6808bb
      https://github.com/llvm/llvm-project/commit/bbd64c4ddf08be468ab4eb4c161e28bdab6808bb
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/mul.ll

  Log Message:
  -----------
  [RISCV] Add coverage for strength reduction of mul as 2^N - 2^M


  Commit: 8885813ebb0a61014d99ac776b8118d935848cc9
      https://github.com/llvm/llvm-project/commit/8885813ebb0a61014d99ac776b8118d935848cc9
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp

  Log Message:
  -----------
  [libc++][chrono] Disables a test.

This tests seems problematic on different platforms. There is still a
test that ensures coverage, but in an automatic fashion. This test needs
to be investigated.


  Commit: 0665669876cd7f51f7572cff3bb97485d78f5de5
      https://github.com/llvm/llvm-project/commit/0665669876cd7f51f7572cff3bb97485d78f5de5
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/lib/Sema/CMakeLists.txt
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/AST/ast-dump-attr-json.cpp
    M clang/test/Sema/alias-unused-win.cpp
    M clang/test/Sema/alias-unused.cpp
    M utils/bazel/llvm-project-overlay/clang/BUILD.bazel

  Log Message:
  -----------
  [Sema] Mark alias/ifunc targets used and consider mangled names

https://reviews.llvm.org/D54188 marked "alias" targets as used in C to
fix -Wunused false positives. This patch extends the approach to handle
mangled names to support global scope names in C++ and the
`overloadable` attribute in C.

(Note: we should skip `UsingShadowDecl`, which would trigger an
assertion failure in `ItaniumMangleContextImpl::mangleCXXName`.
See regression test added by commit 1c2afbae9af22b58190c10e3517242d01d89d612.)

In addition, we mark ifunc targets as used to fix #63957 (temporarily
used by xz; ifunc was removed by
https://github.com/tukaani-project/xz/commit/689ae2427342a2ea1206eb5ca08301baf410e7e0)

While our approach has false negatives for namespace scope names, the
majority of alias/ifunc C++ uses (global scope with no overloads) are
handled.

Note: The following function with internal linkage but C language
linkage type is mangled in Clang but not in GCC. This inconsistency
makes alias/ifunc difficult to use in C++ with portability (#88593).
```
extern "C" {
static void f0() {}
// GCC: void g0() __attribute__((alias("_ZL2f0v")));
// Clang: void g0() __attribute__((alias("f0")));
}
```

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


  Commit: 5422eb0b841521908c2fc60bd9c7fdc11ded12a1
      https://github.com/llvm/llvm-project/commit/5422eb0b841521908c2fc60bd9c7fdc11ded12a1
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/MemProfReader.h
    M llvm/unittests/ProfileData/MemProfTest.cpp

  Log Message:
  -----------
  [memprof] Add another constructor to MemProfReader (#88952)

This patch enables users of MemProfReader to directly supply mappings
from CallStackId to actual call stacks.

Once the users of the current constructor without CSIdMap switch to
the new constructor, we'll have fewer users of:

- IndexedAllocationInfo::CallStack
- IndexedMemProfRecord::CallSites

bringing us one step closer to the removal of these fields in favor
of:

- IndexedAllocationInfo::CSId
- IndexedMemProfRecord::CallSiteIds


  Commit: c7657cf7d1ee57f9cb9133164536591a1842b43c
      https://github.com/llvm/llvm-project/commit/c7657cf7d1ee57f9cb9133164536591a1842b43c
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/extract_in_tree_user.ll
    M llvm/test/Transforms/SLPVectorizer/X86/geps-non-pow-2.ll
    M llvm/test/Transforms/SLPVectorizer/X86/opaque-ptr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reorder-reused-masked-gather2.ll
    M llvm/test/Transforms/SLPVectorizer/X86/stacksave-dependence.ll

  Log Message:
  -----------
  [SLP]Keep externally used GEPs as GEPs, if possible instead of extractelement.

If the vectorized GEP instruction can be still kept as a scalar GEP,
better to keep it as scalar instead of extractelement. In many cases it
is more profitable.

Metric: size..text

Program                                                                          size..text
                                                                                 results     results0    diff
                        test-suite :: SingleSource/Benchmarks/Misc/oourafft.test    18911.00    19695.00  4.1%
                   test-suite :: SingleSource/Benchmarks/Misc-C++-EH/spirit.test    59987.00    60707.00  1.2%
       test-suite :: External/SPEC/CFP2017speed/638.imagick_s/638.imagick_s.test  1392209.00  1392753.00  0.0%
        test-suite :: External/SPEC/CFP2017rate/538.imagick_r/538.imagick_r.test  1392209.00  1392753.00  0.0%
           test-suite :: External/SPEC/CINT2006/400.perlbench/400.perlbench.test  1087996.00  1088236.00  0.0%
                         test-suite :: MultiSource/Benchmarks/Bullet/bullet.test   309310.00   309342.00  0.0%
             test-suite :: External/SPEC/CINT2017rate/525.x264_r/525.x264_r.test   664661.00   664693.00  0.0%
            test-suite :: External/SPEC/CINT2017speed/625.x264_s/625.x264_s.test   664661.00   664693.00  0.0%
        test-suite :: External/SPEC/CFP2017rate/526.blender_r/526.blender_r.test 12354636.00 12354908.00  0.0%
                  test-suite :: External/SPEC/CFP2006/453.povray/453.povray.test  1152748.00  1152716.00 -0.0%
                       test-suite :: MultiSource/Applications/oggenc/oggenc.test   191787.00   191771.00 -0.0%
                     test-suite :: SingleSource/UnitTests/matrix-types-spec.test   480796.00   480476.00 -0.1%

Misc/oourafft - Extra code gets vectorized
Misc-C++-EH/spirit - same
CFP2017speed/638.imagick_s
CFP2017rate/538.imagick_r - same, extra code gets vectorized
CINT2006/400.perlbench - some extra 4 x ptr stores vectorized
Bullet/bullet - extra 4 x ptr store vectorized
CINT2017rate/525.x264_r
CINT2017speed/625.x264_s - same
CFP2017rate/526.blender_r - extra 8 x float stores (several), some extra
4 x ptr stores
CFP2006/453.povray - 2 x double loads/stores replaced by 4 x double
loads/stores
Applications/oggenc - extra code is vectorized
UnitTests/matrix-types-spec - extra code gets vectorized

Reviewers: RKSimon

Reviewed By: RKSimon

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


  Commit: 7d4e8c1f3bbfe976f4871c9cf953f76d771b0eda
      https://github.com/llvm/llvm-project/commit/7d4e8c1f3bbfe976f4871c9cf953f76d771b0eda
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/pr46983.ll

  Log Message:
  -----------
  [SLP]Attempt to vectorize long stores, if short one failed.

We can try to vectorize long store sequences, if short ones were
unsuccessful because of the non-profitable vectorization. It should not
increase compile time significantly (stores are sorted already,
complexity is n x log n), but vectorize extra code.

Metric: size..text

Program                                                                         size..text
                                                                                results     results0    diff
         test-suite :: External/SPEC/CINT2006/400.perlbench/400.perlbench.test  1088012.00  1088236.00  0.0%
                  test-suite :: SingleSource/UnitTests/matrix-types-spec.test   480396.00   480476.00  0.0%
          test-suite :: External/SPEC/CINT2017rate/525.x264_r/525.x264_r.test   664613.00   664661.00  0.0%
         test-suite :: External/SPEC/CINT2017speed/625.x264_s/625.x264_s.test   664613.00   664661.00  0.0%
        test-suite :: External/SPEC/CFP2017rate/510.parest_r/510.parest_r.test  2041105.00  2040961.00 -0.0%
                 test-suite :: MultiSource/Applications/JM/lencod/lencod.test   836563.00   836387.00 -0.0%
                 test-suite :: MultiSource/Benchmarks/7zip/7zip-benchmark.test  1035100.00  1032140.00 -0.3%

In all benchmarks extra code gets vectorized

Reviewers: RKSimon

Reviewed By: RKSimon

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


  Commit: 3eff86f82cb59d7dfc88e0cc3d8df8282f24f028
      https://github.com/llvm/llvm-project/commit/3eff86f82cb59d7dfc88e0cc3d8df8282f24f028
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

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

  Log Message:
  -----------
  [gn build] Port 9ec8c961664d


  Commit: b0ddbfb77d15e00e08fc36f6ccd8a4fecde465d1
      https://github.com/llvm/llvm-project/commit/b0ddbfb77d15e00e08fc36f6ccd8a4fecde465d1
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/lib/Basic/Targets/SPIR.h

  Log Message:
  -----------
  [clang][SPIR-V] Set AS for the SPIR-V logical triple (#88939)

This was missed in #88455, causing most of the .hlsl to SPIR-V tests to
fail (such as clang\test\Driver\hlsl-lang-targets-spirv.hlsl)


  Commit: c9731a3dccd381849bfede5e09290c0574efa248
      https://github.com/llvm/llvm-project/commit/c9731a3dccd381849bfede5e09290c0574efa248
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp

  Log Message:
  -----------
  [mlir] Fix a warning about an extraneous semicolon

This patch fixes:

  mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp:58:2: error: extra ';'
  outside of a function is incompatible with C++98
  [-Werror,-Wc++98-compat-extra-semi]


  Commit: 0a789ea8a829da345e46d8224d73b2ddaba6969f
      https://github.com/llvm/llvm-project/commit/0a789ea8a829da345e46d8224d73b2ddaba6969f
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/test/SemaCXX/PR41441.cpp

  Log Message:
  -----------
  Fix test from #83124 and #88902

This just replaces an '#include<new>' with a declaration of array
placement new.


  Commit: 9a0a28f8384b2cb534953df33bf124f01f0e0d0e
      https://github.com/llvm/llvm-project/commit/9a0a28f8384b2cb534953df33bf124f01f0e0d0e
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/common/include/PluginInterface.h
    M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp

  Log Message:
  -----------
  [Libomptarget] Rework Record & Replay to be a plugin member (#88928)

Summary:
Previously, the R&R support was global state initialized by a global
constructor. This is bad because it prevents us from adequately
constraining the lifetime of the library. Additionally, we want to
minimize the amount of global state floating around.

This patch moves the R&R support into a plugin member like everything
else. This means there will be multiple copies of the R&R implementation
floating around, but this was already the case given the fact that we
currently handle everything with dynamic libraries.


  Commit: ed7038ef334eaccdd4104053005cab52804fbfad
      https://github.com/llvm/llvm-project/commit/ed7038ef334eaccdd4104053005cab52804fbfad
  Author: Jeremy Kun <jkun at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Polynomial/IR/CMakeLists.txt

  Log Message:
  -----------
  specify dialect in polynomial docs (#88933)

I figured out how to test this with `make mlir-doc doxygen-mlir`


  Commit: 8427d86dae0401c6ba9f327375906aaf4eaa0ac3
      https://github.com/llvm/llvm-project/commit/8427d86dae0401c6ba9f327375906aaf4eaa0ac3
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/tools/clang-formatted-files.txt
    A clang/include/clang/Analysis/FlowSensitive/ASTOps.h
    M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
    M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
    M clang/include/clang/Sema/Initialization.h
    M clang/include/clang/Sema/Overload.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Serialization/ModuleFileExtension.h
    M clang/include/clang/Serialization/PCHContainerOperations.h
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    A clang/lib/Analysis/FlowSensitive/ASTOps.cpp
    M clang/lib/Analysis/FlowSensitive/CMakeLists.txt
    M clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
    M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
    M clang/lib/Analysis/FlowSensitive/Transfer.cpp
    M clang/lib/Basic/Targets/SPIR.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/lib/Serialization/GeneratePCH.cpp
    M clang/lib/Serialization/GlobalModuleIndex.cpp
    M clang/lib/Serialization/ModuleFileExtension.cpp
    M clang/lib/Serialization/PCHContainerOperations.cpp
    M clang/test/AST/Interp/vectors.cpp
    M clang/test/CXX/drs/dr0xx.cpp
    M clang/test/CXX/drs/dr16xx.cpp
    M clang/test/CXX/drs/dr1xx.cpp
    M clang/test/CXX/drs/dr2xx.cpp
    M clang/test/CXX/drs/dr3xx.cpp
    M clang/test/CXX/drs/dr4xx.cpp
    M clang/test/CXX/drs/dr5xx.cpp
    M clang/test/CXX/drs/dr6xx.cpp
    M clang/test/CodeGen/alias.cpp
    A clang/test/Sema/recover-expr-gh88008-nocrash.c
    A clang/test/SemaCXX/PR41441.cpp
    R clang/test/SemaCXX/instantiate-new-placement-size.cpp
    M flang/cmake/modules/AddFlangOffloadRuntime.cmake
    M flang/lib/Decimal/CMakeLists.txt
    M flang/runtime/CMakeLists.txt
    M flang/test/Driver/msvc-dependent-lib-flags.f90
    M flang/test/Semantics/OpenMP/clause-validity01.f90
    M libc/src/fenv/CMakeLists.txt
    M libc/src/fenv/fegetexceptflag.h
    M libc/src/fenv/fesetexceptflag.h
    M libc/src/fenv/feupdateenv.cpp
    M libclc/CMakeLists.txt
    M libcxx/.clang-format
    M libcxx/docs/BuildingLibcxx.rst
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/docs/UsingLibcxx.rst
    M libcxx/include/__atomic/atomic.h
    M libcxx/include/__atomic/atomic_flag.h
    M libcxx/include/__availability
    M libcxx/include/__chrono/formatter.h
    M libcxx/include/__config
    M libcxx/include/__expected/bad_expected_access.h
    M libcxx/include/__functional/function.h
    M libcxx/include/__fwd/ios.h
    M libcxx/include/barrier
    M libcxx/include/iosfwd
    M libcxx/include/latch
    M libcxx/include/semaphore
    M libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/powerpc-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-unknown-freebsd.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.noexceptions.nonew.abilist
    M libcxx/src/CMakeLists.txt
    A libcxx/src/expected.cpp
    M libcxx/src/functional.cpp
    M libcxx/test/libcxx/containers/sequences/vector/asan.pass.cpp
    R libcxx/test/libcxx/depr/enable_removed_cpp17_features.compile.pass.cpp
    R libcxx/test/libcxx/depr/enable_removed_cpp17_features.deprecated.verify.cpp
    R libcxx/test/libcxx/depr/enable_removed_cpp20_features.deprecated.verify.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_all.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_one.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait_explicit.pass.cpp
    M libcxx/test/std/thread/thread.barrier/arrive.pass.cpp
    M libcxx/test/std/thread/thread.barrier/arrive_and_drop.pass.cpp
    M libcxx/test/std/thread/thread.barrier/arrive_and_wait.pass.cpp
    M libcxx/test/std/thread/thread.barrier/completion.pass.cpp
    M libcxx/test/std/thread/thread.barrier/ctor.compile.pass.cpp
    M libcxx/test/std/thread/thread.barrier/max.pass.cpp
    M libcxx/test/std/thread/thread.latch/arrive_and_wait.pass.cpp
    M libcxx/test/std/thread/thread.latch/count_down.pass.cpp
    M libcxx/test/std/thread/thread.latch/ctor.pass.cpp
    M libcxx/test/std/thread/thread.latch/max.pass.cpp
    M libcxx/test/std/thread/thread.latch/try_wait.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/acquire.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/binary.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/ctor.compile.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/max.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/release.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/timed.pass.cpp
    M libcxx/test/std/thread/thread.semaphore/try_acquire.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp
    M libcxx/utils/libcxx/test/modules.py
    M lldb/test/API/functionalities/asan/Makefile
    M lldb/test/API/functionalities/asan/TestMemoryHistory.py
    M lldb/test/API/functionalities/asan/TestReportData.py
    R lldb/test/API/functionalities/libsanitizers/util.py
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/include/llvm/ProfileData/MemProfReader.h
    M llvm/lib/CodeGen/MachineDebugify.cpp
    M llvm/lib/ProfileData/MemProf.cpp
    M llvm/lib/ProfileData/MemProfReader.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Transforms/Utils/Debugify.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/CodeGen/AArch64/and-sink.ll
    M llvm/test/CodeGen/AArch64/combine-comparisons-by-cse.ll
    M llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables-x.mir
    M llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.ll
    M llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir
    M llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
    M llvm/test/CodeGen/Generic/MIRDebugify/multifunction-module.mir
    M llvm/test/CodeGen/Hexagon/vect/zext-v4i1.ll
    M llvm/test/CodeGen/RISCV/addimm-mulimm.ll
    M llvm/test/CodeGen/RISCV/mul.ll
    M llvm/test/CodeGen/RISCV/rv64zba.ll
    M llvm/test/DebugInfo/debugify-bogus-dbg-value.ll
    M llvm/test/DebugInfo/debugify-each.ll
    M llvm/test/DebugInfo/debugify-export.ll
    M llvm/test/DebugInfo/debugify-ignore-phi.ll
    M llvm/test/DebugInfo/debugify-original-no-dbg-info.ll
    M llvm/test/DebugInfo/debugify-report-missing-locs-only.ll
    M llvm/test/DebugInfo/debugify.ll
    M llvm/test/DebugInfo/pr37964.ll
    M llvm/test/DebugInfo/salvage-cast-debug-info.ll
    M llvm/test/DebugInfo/verify-di-preserve.ll
    M llvm/test/Transforms/InstCombine/known-bits.ll
    M llvm/test/Transforms/JumpThreading/pr79175.ll
    M llvm/test/Transforms/JumpThreading/select.ll
    M llvm/test/Transforms/JumpThreading/thread-prob-7.ll
    R llvm/test/Transforms/JumpThreading/uncond-no-phi.ll
    R llvm/test/Transforms/PhaseOrdering/thread-uncond-bb.ll
    M llvm/test/Transforms/SLPVectorizer/X86/extract_in_tree_user.ll
    M llvm/test/Transforms/SLPVectorizer/X86/geps-non-pow-2.ll
    M llvm/test/Transforms/SLPVectorizer/X86/opaque-ptr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/pr46983.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reorder-reused-masked-gather2.ll
    M llvm/test/Transforms/SLPVectorizer/X86/stacksave-dependence.ll
    A llvm/test/Transforms/VectorCombine/X86/shuffle-of-shuffles.ll
    M llvm/unittests/CodeGen/RegAllocScoreTest.cpp
    M llvm/unittests/ProfileData/MemProfTest.cpp
    M llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/BUILD.gn
    M llvm/utils/gn/secondary/libcxx/src/BUILD.gn
    M mlir/include/mlir/Dialect/Polynomial/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
    M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
    M mlir/test/Dialect/SparseTensor/invalid.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip.mlir
    M mlir/test/Dialect/XeGPU/XeGPUOps.mlir
    A mlir/test/Dialect/XeGPU/invalid.mlir
    M openmp/libomptarget/plugins-nextgen/common/include/PluginInterface.h
    M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
    M openmp/runtime/src/kmp_dispatch.cpp
    M openmp/runtime/test/tasking/hidden_helper_task/capacity_mix_threads.cpp
    M openmp/runtime/test/tasking/hidden_helper_task/capacity_nthreads.cpp

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

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/596fc83b66d8...8427d86dae04

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