UnstableChanges

Summary

  1. [libc] Add implementations of nearbyint[f|l]. (details)
  2. [libc] Add implementations of nextafter[f|l] functions. (details)
  3. [OpenMP][AMDGPU] Use AMDGPU_KERNEL calling convention for entry function (details)
  4. [clangd][fuzzyFind] Do not show stale symbols in the result. (details)
Commit 993d8ac5cb935b78fb136c25a7e4bae18852f429 by sivachandra
[libc] Add implementations of nearbyint[f|l].

The implementation is exactly the same as rint* as even rint does not
raise any floating point exceptions currently. [Note that the standards
do not specify that floating point exceptions must be raised - they
leave it up to the implementation to choose to raise FE_INEXACT when
rounding non-integral values.]

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D94112
The file was modifiedlibc/spec/stdc.td
The file was addedlibc/src/math/nearbyintf.cpp
The file was addedlibc/src/math/nearbyintf.h
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was addedlibc/src/math/nearbyint.cpp
The file was addedlibc/src/math/nearbyintl.cpp
The file was addedlibc/src/math/nearbyint.h
The file was addedlibc/src/math/nearbyintl.h
The file was modifiedlibc/src/math/CMakeLists.txt
Commit 7f7b0dc4e15fac5f91f8f6dcc7f91c9025f41ae0 by sivachandra
[libc] Add implementations of nextafter[f|l] functions.

A differential fuzzer for these functions has also been added.
Along the way, a small correction has been done to the normal/subnormal
limits of x86 long double values.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D94109
The file was addedlibc/test/src/math/nextafter_test.cpp
The file was modifiedlibc/spec/stdc.td
The file was addedlibc/src/math/nextafterf.h
The file was modifiedlibc/test/src/math/CMakeLists.txt
The file was addedlibc/test/src/math/NextAfterTest.h
The file was modifiedlibc/utils/FPUtil/LongDoubleBitsX86.h
The file was addedlibc/src/math/nextafter.cpp
The file was addedlibc/src/math/nextafterl.cpp
The file was addedlibc/utils/FPUtil/NextAfterLongDoubleX86.h
The file was modifiedlibc/fuzzing/math/CMakeLists.txt
The file was addedlibc/src/math/nextafter.h
The file was modifiedlibc/src/math/CMakeLists.txt
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was modifiedlibc/utils/FPUtil/ManipulationFunctions.h
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
The file was addedlibc/fuzzing/math/nextafter_differential_fuzz.cpp
The file was addedlibc/test/src/math/nextafterf_test.cpp
The file was addedlibc/src/math/nextafterf.cpp
The file was addedlibc/test/src/math/nextafterl_test.cpp
The file was modifiedlibc/fuzzing/math/Compare.h
The file was addedlibc/src/math/nextafterl.h
Commit 4909cb1a0fe9f2494ccbadc2856b6ddfc70051b5 by Pushpinder.Singh
[OpenMP][AMDGPU] Use AMDGPU_KERNEL calling convention for entry function

AMDGPU backend requires entry functions/kernels to have AMDGPU_KERNEL
calling convention for proper linking.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D94060
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/amdgcn_target_codegen.cpp
Commit 979228f120f4aa1265648b1c06f65a84bcca1ed6 by platonov.aleksandr
[clangd][fuzzyFind] Do not show stale symbols in the result.

This is follow up to D93393.
Without this patch `MergedIndex::fuzzyFind()` returns stale symbols from the static index even if these symbols were removed.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D93796
The file was modifiedclang-tools-extra/clangd/index/Merge.cpp
The file was modifiedclang-tools-extra/clangd/index/Merge.h
The file was modifiedclang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/IndexTests.cpp