SuccessChanges

Summary

  1. [LegalizeTypes] Add ROTL/ROTR to ScalarizeVectorResult. (details)
  2. [libc] Add implementations for sqrt, sqrtf, and sqrtl. (details)
  3. [OpenMP] Fix build on macOS sdk 10.12 and newer (details)
  4. [AMDGPU] Make more use of Subtarget reference in SIInstrInfo (details)
  5. [lldb][NFC] Simplify string literal in GDBRemoteCommunicationClient (details)
  6. Fix failing tests after VCTOOLSDIR change (details)
  7. Bump -len_control value in fuzzer-custommutator.test (PR47286) (details)
  8. [clangd] Enable recovery-ast-type by default. (details)
  9. [libc++] Always run Ninja through xcrun in the macOS CI scripts (details)
  10. [clangd] Use string[] for allCommitCharacters (details)
  11. [clang][NFC] Properly fix a GCC warning in ASTImporterTest.cpp (details)
  12. [Clang] Fix tests following rG087047144210 (details)
  13. [libc++] Use xcrun to find Ninja in the macOS backdeployment CI too (details)
  14. [LiveDebugValues][NFC] Add instr-ref tests, adapt old tests (details)
Commit 75d159f924868ec93e3008b04b637412b64de29e by jay.foad
[LegalizeTypes] Add ROTL/ROTR to ScalarizeVectorResult.

We can scalarize these just like any other binary operation.

Fixes https://bugs.llvm.org/show_bug.cgi?id=47303 caused by D77152.

Differential Revision: https://reviews.llvm.org/D86601
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Commit 5078825aa982905088502f14b5387fc5c96017fe by lntue
[libc] Add implementations for sqrt, sqrtf, and sqrtl.

Differential Revision: https://reviews.llvm.org/D84726
The file was addedlibc/src/math/sqrtl.cpp
The file was addedlibc/src/math/sqrtf.h
The file was addedlibc/src/math/sqrt.cpp
The file was modifiedlibc/test/src/math/CMakeLists.txt
The file was addedlibc/test/src/math/sqrtf_test.cpp
The file was addedlibc/utils/FPUtil/SqrtLongDoubleX86.h
The file was addedlibc/src/math/sqrt.h
The file was addedlibc/src/math/sqrtf.cpp
The file was addedlibc/test/src/math/sqrtl_test.cpp
The file was modifiedlibc/spec/stdc.td
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
The file was modifiedlibc/src/math/CMakeLists.txt
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was addedlibc/test/src/math/sqrt_test.cpp
The file was addedlibc/src/math/sqrtl.h
The file was modifiedlibc/config/linux/api.td
The file was addedlibc/utils/FPUtil/Sqrt.h
Commit 09af378f49dca98bc931ba0ff2c1cde307fe7c2c by Andrey.Churbanov
[OpenMP] Fix build on macOS sdk 10.12 and newer

Patch by nihui (Ni Hui)

Differential Revision: https://reviews.llvm.org/D76755
The file was modifiedopenmp/runtime/src/kmp_wrapper_getpid.h
Commit a75e67b3b4885efdb6a0b0b2939cccb5a9e67b72 by jay.foad
[AMDGPU] Make more use of Subtarget reference in SIInstrInfo
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Commit 4a15f51a4f7726e12c327fa30e76d90a2b90430b by Raphael Isemann
[lldb][NFC] Simplify string literal in GDBRemoteCommunicationClient
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit 7a34dca0f3918ab1c0397e56dd64a3c04164c8b6 by hans
Fix failing tests after VCTOOLSDIR change

Switch from hardcoded x64 arch to a regex in the target triple

Differential revision: https://reviews.llvm.org/D86622
The file was modifiedclang/test/Driver/cl-options.c
Commit 8421503300c6145480710761983f089ccbe0bb56 by hans
Bump -len_control value in fuzzer-custommutator.test (PR47286)

to make the test more stable, as suggested by mmoroz.
The file was modifiedcompiler-rt/test/fuzzer/fuzzer-custommutator.test
Commit 667867e0df26e45ed2c86e192fee69dd484167c7 by hokein.wu
[clangd] Enable recovery-ast-type by default.

Differential Revision: https://reviews.llvm.org/D86602
The file was modifiedclang-tools-extra/clangd/tool/ClangdMain.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
Commit 3d120b6f7be816d188bd05271fff17f0030db9b2 by Louis Dionne
[libc++] Always run Ninja through xcrun in the macOS CI scripts

Ninja isn't installed by default on OSX, so run it through xcrun to find
the one in the developer tools if needed.
The file was modifiedlibcxx/utils/ci/macos-trunk.sh
Commit 9d11e6789c477ce6104e29745ca70e13c9fafeb0 by kbobyrev
[clangd] Use string[] for allCommitCharacters

As per LSP specification, allCommitCharacters should be string[] instead of
string:

https://microsoft.github.io/language-server-protocol/specification#textDocument_completion

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D86604
The file was modifiedclang-tools-extra/clangd/test/initialize-params.test
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
Commit 677e3db5806af9c6bbe9e76c135f801e8b06a8ed by Raphael Isemann
[clang][NFC] Properly fix a GCC warning in ASTImporterTest.cpp

Follow up to c9b45ce1fd97531c228e092bedee719b971f82a3 which just defined
the function instead of just 'using' the function from the base class (thanks
David).
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
Commit 33ce275fc156c8b015acfad918937028b2cc235c by alexandre.ganea
[Clang] Fix tests following rG087047144210
The file was modifiedclang/test/Driver/cl-options.c
Commit f1a987366fb9e20abdcb5f87e2be1dabb4401cb2 by Louis Dionne
[libc++] Use xcrun to find Ninja in the macOS backdeployment CI too
The file was modifiedlibcxx/utils/ci/macos-backdeployment.sh
Commit 60db26a66d5346b2feae279f6c928bde48078893 by jeremy.morse
[LiveDebugValues][NFC] Add instr-ref tests, adapt old tests

This patch adds a few tests in DebugInfo/MIR/InstrRef/ of interesting
behaviour that the instruction referencing implementation of
LiveDebugValues has. Mostly, these tests exist to ensure that if you
give the "-experimental-debug-variable-locations" command line switch,
the right implementation runs; and to ensure it behaves the same way as
the VarLoc LiveDebugValues implementation.

I've also touched roughly 30 other tests, purely to make the tests less
rigid about what output to accept. DBG_VALUE instructions are usually
printed with a trailing !debug-location indicating its scope:

  !debug-location !1234

However InstrRefBasedLDV produces new DebugLoc instances on the fly,
meaning there sometimes isn't a numbered node when they're printed,
making the output:

  !debug-location !DILocation(line: 0, blah blah)

Which causes a ton of these tests to fail. This patch removes checks for
that final part of each DBG_VALUE instruction. None of them appear to
be actually checking the scope is correct, just that it's present, so
I don't believe there's any loss in coverage here.

Differential Revision: https://reviews.llvm.org/D83054
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_move_to_clobber.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values-3preds.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_break.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop.mir
The file was addedllvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_downgradefeedback_loop.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_outer_moved.mir
The file was addedllvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_insensitive_downgrade.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_two_backedge.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values-bad-transfer.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_many_loop_heads.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_move.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_clobbered.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_move.mir
The file was addedllvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_path_lengths.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_load_in_loop.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_clobber.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_clobber.mir
The file was modifiedllvm/test/DebugInfo/MIR/Mips/last-inst-bundled.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_moved.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues-ignores-metaInstructions.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/kill-after-spill.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_loop.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond_move.mir