[all-commits] [llvm/llvm-project] dea213: Add atan2 test case for prior change in X86SelLowe...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu Oct 17 13:23:05 PDT 2024


  Branch: refs/heads/users/vitalybuka/spr/sanitizer-add-trymemcpy
  Home:   https://github.com/llvm/llvm-project
  Commit: dea213cb9b2e1ce7a6032ae4bc5306f74ebfc604
      https://github.com/llvm/llvm-project/commit/dea213cb9b2e1ce7a6032ae4bc5306f74ebfc604
  Author: Tex Riddell <texr at microsoft.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll

  Log Message:
  -----------
  Add atan2 test case for prior change in X86SelLowering.cpp (#112616)

When updating X86SelLowering.cpp for atan2, based on #96222, it was
known that a needed change was missing which was merged later in
#101268. However, the corresponding test update to
`fp-strict-libcalls-msvc32.ll` was missed.

This change rectifies that oversight.

This also adds a missing label to the tanh test, since it's produced by
update_llc_test_checks.py

Part of: Implement the atan2 HLSL Function #70096.


  Commit: 2bebeea2a1c74b78d1be32dbe3a7d724da1af102
      https://github.com/llvm/llvm-project/commit/2bebeea2a1c74b78d1be32dbe3a7d724da1af102
  Author: Tex Riddell <texr at microsoft.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
    M llvm/test/CodeGen/WebAssembly/libcalls-trig.ll

  Log Message:
  -----------
  [WebAssembly] Add atan2 to RuntimeLibcallSignatureTable (#112613)

This change is part of this proposal:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294

- `WebAssemblyRuntimeLibcallSignatures.cpp`: Add `RTLIB::ATAN2*` to
RuntimeLibcallSignatureTable
- Add atan2 calls to `CodeGen/WebAssembly/libcalls-trig.ll` and update
test checks

Part of: Implement the atan2 HLSL Function #70096.


  Commit: 2c93598b32c217c605dc4eeea8e37eae2ba5799a
      https://github.com/llvm/llvm-project/commit/2c93598b32c217c605dc4eeea8e37eae2ba5799a
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/test/Parser/OpenMP/allocate-tree.f90

  Log Message:
  -----------
  [flang] Update printing values in dump-parse-tree (#112709)

Remove 'if std::string' that is covered by another branch of the
if-statement.
Add printing of 'bool' and 'int' values, since they have corresponding
`GetNodeName` definitions.


  Commit: ed7868de03c7b93809f87ed1a01103b926564feb
      https://github.com/llvm/llvm-project/commit/ed7868de03c7b93809f87ed1a01103b926564feb
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_posix_test.cpp

  Log Message:
  -----------
  [nfc][sanitizer] Replace mmap with InternalMmapVector in test (#112756)


  Commit: ed3d05178274890fb804f43ae1bcdfd33b5fd8f0
      https://github.com/llvm/llvm-project/commit/ed3d05178274890fb804f43ae1bcdfd33b5fd8f0
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M libc/config/gpu/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    A libc/src/math/coshf16.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/coshf16.cpp
    M libc/src/math/generic/expxf16.h
    A libc/src/math/generic/sinhf16.cpp
    A libc/src/math/sinhf16.h
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/coshf16_test.cpp
    A libc/test/src/math/sinhf16_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/coshf16_test.cpp
    A libc/test/src/math/smoke/sinhf16_test.cpp

  Log Message:
  -----------
  [libc][math][c23] Add sinhf16 and coshf16 C23 math functions (#105947)

Part of #95250.


  Commit: ab7518050183162f09724ef8682a580cc68709bc
      https://github.com/llvm/llvm-project/commit/ab7518050183162f09724ef8682a580cc68709bc
  Author: Greg Roth <grroth at microsoft.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILFinalizeLinkage.cpp
    M llvm/test/CodeGen/DirectX/ShaderFlags/double-extensions.ll
    M llvm/test/CodeGen/DirectX/ShaderFlags/doubles.ll
    M llvm/test/CodeGen/DirectX/conflicting-bitcast-insert.ll
    A llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead-lib.ll
    A llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead.ll
    M llvm/test/CodeGen/DirectX/finalize_linkage.ll
    M llvm/test/CodeGen/DirectX/fneg-conversion.ll
    M llvm/test/CodeGen/DirectX/omit-bitcast-insert.ll
    M llvm/test/CodeGen/DirectX/scalar-load.ll
    M llvm/test/CodeGen/DirectX/scalar-store.ll
    M llvm/test/CodeGen/DirectX/scalarize-two-calls.ll
    M llvm/test/CodeGen/DirectX/strip-fn-attrs.ll

  Log Message:
  -----------
  [DirectX] Remove trivially dead functions at linkage finalize (#106146)

Functions are not removed even when made internal by
DXILFinalizeLinkage. The removal code is called from alwaysinliner and
globalopt, which are invoked too early to remove functions made internal
by this pass.

This adds a check similar to that in alwaysinliner that removes
trivially dead functions after being marked internal. It refactors that
code a bit to make it simpler including reversing what is stored int he
work queue.

Tests both the pass in isolation and the full i0nlining, linkage
finalization and function removal steps.

Fixes #106139


  Commit: a9d39ce5d2e93e76598732e2caeaae0dbe155f1c
      https://github.com/llvm/llvm-project/commit/a9d39ce5d2e93e76598732e2caeaae0dbe155f1c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

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

  Log Message:
  -----------
  [RISCV][GISel] Pass APInt by const reference. NFC


  Commit: 29097dd2f39cfd7e5f2e389b0f0a7701188d7570
      https://github.com/llvm/llvm-project/commit/29097dd2f39cfd7e5f2e389b0f0a7701188d7570
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

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

  Log Message:
  -----------
  [rtsan][NFC] Remove rtsan_ prefix from stats variables (#112762)


  Commit: 32b55f375feaf6bcc2c870964a0bf087cf3c22bf
      https://github.com/llvm/llvm-project/commit/32b55f375feaf6bcc2c870964a0bf087cf3c22bf
  Author: Sylvestre Ledru <sylvestre at debian.org>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M clang/include/clang/Driver/Distro.h
    M clang/lib/Driver/Distro.cpp

  Log Message:
  -----------
  Add support of the next Ubuntu (Ubuntu 25.04 - Plucky Puffin)


  Commit: 70865844cbf619e1f4011cd3383a028ab4ec2081
      https://github.com/llvm/llvm-project/commit/70865844cbf619e1f4011cd3383a028ab4ec2081
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_posix_test.cpp

  Log Message:
  -----------
  [sanitizer] Large range support in IsAccessibleMemoryRange (#112665)

The comment stated that it's slow, but likely it's a deadlock,
as write can be blocked.

Also we can't be sure that `page_size * 10` is appropriate size.

Still most likely this is NFC, as the max `size` we use is 32,
and should fit in any buffer.


  Commit: 2cd10f5292992a2fb549eb69806447679dfc15db
      https://github.com/llvm/llvm-project/commit/2cd10f5292992a2fb549eb69806447679dfc15db
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    R libcxx/appveyor-reqs-install.cmd
    R libcxx/appveyor.yml

  Log Message:
  -----------
  [libc++] Remove obsolete Appveyor files (#112744)

We don't use Appveyor to run Windows CI anymore (in fact I don't know if
we ever did). Our full Windows CI setup is based on Github actions, so
these files are effectively dead code.


  Commit: 8c77f4c5087ac5a8e5dc08e472cf06897689a68b
      https://github.com/llvm/llvm-project/commit/8c77f4c5087ac5a8e5dc08e472cf06897689a68b
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/test/configs/cmake-bridge.cfg.in
    M libcxxabi/test/configs/cmake-bridge.cfg.in
    M libunwind/test/configs/cmake-bridge.cfg.in

  Log Message:
  -----------
  [runtimes] Avoid cluttering the top-level build directory with test artifacts (#112717)

Instead of placing artifacts for testing the runtimes at <build>/test,
place those artifacts at <build>/<project>/test. This prevents
cluttering the build directory with the runtimes' test artifacts for
everyone else.

As a drive-by, remove LIBCXX_BINARY_INCLUDE_DIR which wasn't used
anymore.


  Commit: e2d07fc3d8737c08d351e841f82911a5c3ddf433
      https://github.com/llvm/llvm-project/commit/e2d07fc3d8737c08d351e841f82911a5c3ddf433
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M libcxx/include/new

  Log Message:
  -----------
  [libc++] Mark libc++ deallocation helpers as noexcept (#110884)

They already can't throw exceptions and they are called from noexcept
functions, but they were not marked as noexcept. Depending on compiler
inlining, this might not make a difference or this might improve the
codegen a bit by removing the implicit try-catch block that Clang
generates around non-noexcept functions called from noexcept functions.

The original issue also mentioned that one occurrence of
std::allocator::deallocate was missing noexcept, however it has since
then been removed.

Fixes #66100


  Commit: e67442486d5efd48235f62b438557bc95193fc48
      https://github.com/llvm/llvm-project/commit/e67442486d5efd48235f62b438557bc95193fc48
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/cmake/caches/AMDGPU.cmake
    M libcxx/docs/VendorDocumentation.rst
    M libcxxabi/CMakeLists.txt
    M libunwind/CMakeLists.txt

  Log Message:
  -----------
  [runtimes] Improve the documentation for LIBCXX_ADDITIONAL_COMPILE_FLAGS (#112733)

This clarifies how that option is meant to be used to avoid confusion.
As a drive-by, also fix an incorrect usage in the recently-added GPU
caches.


  Commit: d90f59c6f152cb530b3c6e681a91351277352197
      https://github.com/llvm/llvm-project/commit/d90f59c6f152cb530b3c6e681a91351277352197
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M clang/include/clang/Driver/Distro.h
    M clang/lib/Driver/Distro.cpp
    M compiler-rt/lib/rtsan/rtsan_stats.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_posix_test.cpp
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/test/Parser/OpenMP/allocate-tree.f90
    M libc/config/gpu/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    A libc/src/math/coshf16.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/coshf16.cpp
    M libc/src/math/generic/expxf16.h
    A libc/src/math/generic/sinhf16.cpp
    A libc/src/math/sinhf16.h
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/coshf16_test.cpp
    A libc/test/src/math/sinhf16_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/coshf16_test.cpp
    A libc/test/src/math/smoke/sinhf16_test.cpp
    M libcxx/CMakeLists.txt
    R libcxx/appveyor-reqs-install.cmd
    R libcxx/appveyor.yml
    M libcxx/cmake/caches/AMDGPU.cmake
    M libcxx/docs/VendorDocumentation.rst
    M libcxx/include/new
    M libcxx/test/configs/cmake-bridge.cfg.in
    M libcxxabi/CMakeLists.txt
    M libcxxabi/test/configs/cmake-bridge.cfg.in
    M libunwind/CMakeLists.txt
    M libunwind/test/configs/cmake-bridge.cfg.in
    M llvm/lib/Target/DirectX/DXILFinalizeLinkage.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h
    M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
    M llvm/test/CodeGen/DirectX/ShaderFlags/double-extensions.ll
    M llvm/test/CodeGen/DirectX/ShaderFlags/doubles.ll
    M llvm/test/CodeGen/DirectX/conflicting-bitcast-insert.ll
    A llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead-lib.ll
    A llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead.ll
    M llvm/test/CodeGen/DirectX/finalize_linkage.ll
    M llvm/test/CodeGen/DirectX/fneg-conversion.ll
    M llvm/test/CodeGen/DirectX/omit-bitcast-insert.ll
    M llvm/test/CodeGen/DirectX/scalar-load.ll
    M llvm/test/CodeGen/DirectX/scalar-store.ll
    M llvm/test/CodeGen/DirectX/scalarize-two-calls.ll
    M llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
    M llvm/test/CodeGen/WebAssembly/libcalls-trig.ll
    M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]


  Commit: 07311b263a30344f36efb8fcf7f1fe05d6813bcb
      https://github.com/llvm/llvm-project/commit/07311b263a30344f36efb8fcf7f1fe05d6813bcb
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M clang/include/clang/Driver/Distro.h
    M clang/lib/Driver/Distro.cpp
    M compiler-rt/lib/rtsan/rtsan_stats.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_posix_test.cpp
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/test/Parser/OpenMP/allocate-tree.f90
    M libc/config/gpu/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    A libc/src/math/coshf16.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/coshf16.cpp
    M libc/src/math/generic/expxf16.h
    A libc/src/math/generic/sinhf16.cpp
    A libc/src/math/sinhf16.h
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/coshf16_test.cpp
    A libc/test/src/math/sinhf16_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/coshf16_test.cpp
    A libc/test/src/math/smoke/sinhf16_test.cpp
    M libcxx/CMakeLists.txt
    R libcxx/appveyor-reqs-install.cmd
    R libcxx/appveyor.yml
    M libcxx/cmake/caches/AMDGPU.cmake
    M libcxx/docs/VendorDocumentation.rst
    M libcxx/include/new
    M libcxx/test/configs/cmake-bridge.cfg.in
    M libcxxabi/CMakeLists.txt
    M libcxxabi/test/configs/cmake-bridge.cfg.in
    M libunwind/CMakeLists.txt
    M libunwind/test/configs/cmake-bridge.cfg.in
    M llvm/lib/Target/DirectX/DXILFinalizeLinkage.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h
    M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
    M llvm/test/CodeGen/DirectX/ShaderFlags/double-extensions.ll
    M llvm/test/CodeGen/DirectX/ShaderFlags/doubles.ll
    M llvm/test/CodeGen/DirectX/conflicting-bitcast-insert.ll
    A llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead-lib.ll
    A llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead.ll
    M llvm/test/CodeGen/DirectX/finalize_linkage.ll
    M llvm/test/CodeGen/DirectX/fneg-conversion.ll
    M llvm/test/CodeGen/DirectX/omit-bitcast-insert.ll
    M llvm/test/CodeGen/DirectX/scalar-load.ll
    M llvm/test/CodeGen/DirectX/scalar-store.ll
    M llvm/test/CodeGen/DirectX/scalarize-two-calls.ll
    M llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
    M llvm/test/CodeGen/WebAssembly/libcalls-trig.ll
    M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll

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

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/2921279556ac...07311b263a30

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