SuccessChanges

Summary

  1. [LoopRotate] Calls not lowered to calls should not block rotation. (details)
  2. [libc++] Sync TEST_HAS_TIMESPEC_GET and _LIBCPP_HAS_TIMESPEC_GET on FreeBSD (details)
  3. [ARM] Expand add.sat/sub.sat cost checks. NFC (details)
  4. [WebAssembly][lld] Fix call-indirect.s test to validate (details)
Commit 3747b69b531299f7a2a0289b8a59ac7234e47d4f by flo
[LoopRotate] Calls not lowered to calls should not block rotation.

83daa49758a1 made loop-rotate more conservative in the presence of
function calls in the prepare-for-lto stage. The code did not properly
account for calls that are no actual function calls, like calls to
intrinsics. This patch updates the code to ensure only calls that are
lowered to actual calls are considered inline candidates.
The file was modifiedllvm/lib/Analysis/CodeMetrics.cpp
The file was modifiedllvm/test/Transforms/LoopRotate/call-prepare-for-lto.ll
Commit 077a84f911403dc92d7918aebfb5611b6e0677d2 by Alexander.Richardson
[libc++] Sync TEST_HAS_TIMESPEC_GET and _LIBCPP_HAS_TIMESPEC_GET on FreeBSD

Commit 5e416ba943b7c737deb8eca62756f7b4fa925845 (D71522) updated the
__config header but didn't change test_macros.h.
This fixes libcxx/language.support/has_timespec_get.compile.pass.cpp on
FreeBSD12/13.

Reviewed By: #libc, dim, ldionne

Differential Revision: https://reviews.llvm.org/D94292
The file was modifiedlibcxx/test/support/test_macros.h
Commit 54e38440e74f98ec58a22d7d8f9fc5e550ce65aa by david.green
[ARM] Expand add.sat/sub.sat cost checks. NFC
The file was modifiedllvm/test/Analysis/CostModel/ARM/arith-ssat.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/arith-usat.ll
Commit 1a9b6e4a327f20189adde1129019c6652b818b43 by wingo
[WebAssembly][lld] Fix call-indirect.s test to validate

Add missing address operand, so that we can validate the output files.

Depends on D92315.

Differential Revision: https://reviews.llvm.org/D92320
The file was modifiedlld/test/wasm/Inputs/call-indirect.s
The file was modifiedlld/test/wasm/call-indirect.ll
The file was modifiedlld/test/wasm/compress-relocs.ll