FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [runtimes] Remove the ability to select the old libc++ testing format (details)
  2. [SVE] Remove calls to VectorType::getNumElements from X86 (details)
  3. [ADT] Support const-qualified unique_functions (details)
  4. [DEBUGINFO]Add a test for packed bitfields, NFC. (details)
  5. [clangd] Config: config struct propagated through Context (details)
  6. Revert "[ADT] Support const-qualified unique_functions" (details)
  7. [IndVars] Regenerate test checks (NFC) (details)
  8. Add optimization to basic_string::assign for compile-time known constant values. (details)
  9. [gn build] Port 9963d93b073 (details)
  10. Silence unused var warning in NDEBUG build (details)
Commit 5d838808854b9b6a7cb357d7768d37fc94fa7d73 by Louis Dionne
[runtimes] Remove the ability to select the old libc++ testing format

As announced on libcxx-dev at [1], the old libc++ testing format is being
removed in favour of the new one. Follow-up commits will clean up the
code that is dead after the removal of this option.

[1]: http://lists.llvm.org/pipermail/libcxx-dev/2020-June/000885.html
The file was modifiedlibunwind/test/lit.site.cfg.in
The file was modifiedlibcxx/test/lit.site.cfg.in
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was modifiedlibcxxabi/test/lit.site.cfg.in
Commit 0da1e7ebf9a82e49858e77a5bbe1a14f08ef00d7 by ctetreau
[SVE] Remove calls to VectorType::getNumElements from X86

Reviewers: efriedma, RKSimon, craig.topper, fpetrogalli, c-rhodes

Reviewed By: RKSimon

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82508
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h
The file was modifiedllvm/lib/Target/X86/X86InterleavedAccess.cpp
The file was modifiedllvm/lib/Target/X86/X86ShuffleDecodeConstantPool.cpp
The file was modifiedllvm/lib/Target/X86/X86PartialReduction.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
Commit 01bf8cdf5fa9bc71869e15e5e351b2b68c39feb6 by sam.mccall
[ADT] Support const-qualified unique_functions

Summary:
This technique should extend to rvalue-qualified etc, but I didn't add any.
I removed "volatile" from the future plans, which seems... speculative at best.

While here I moved the callbacks object out of the constructor into a
variable template, which I believe addresses the fixme there about unused
objects.

(I'm not a template guru, so it's always possible the old version was designed
for compile-time performance in a way I'm missing)

Reviewers: kadircet

Subscribers: dexonsmith, llvm-commits, chandlerc

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82581
The file was modifiedllvm/unittests/ADT/FunctionExtrasTest.cpp
The file was modifiedllvm/include/llvm/ADT/FunctionExtras.h
Commit b8a6f58f696fd1113149a557ac4ecd8cd33688f7 by a.bataev
[DEBUGINFO]Add a test for packed bitfields, NFC.
The file was addedllvm/test/DebugInfo/X86/packed_bitfields.ll
Commit 9963d93b0731e21dd1c9c1cebf8baaecf2010330 by sam.mccall
[clangd] Config: config struct propagated through Context

Summary:
This introduces the "semantic form" of config exposed to features,
contrasted with the "syntactic form" exposed to users in e9fb1506b83d.

The two are not connected, CompiledFragment and Provider will bridge that gap.
Nor is configuration actually set: that needs changes to ClangdServer,
TUScheduler, and BackgroundQueue.

Reviewers: hokein, kadircet

Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82606
The file was addedclang-tools-extra/clangd/Config.h
The file was modifiedclang-tools-extra/clangd/CompileCommands.cpp
The file was modifiedclang-tools-extra/clangd/CMakeLists.txt
The file was addedclang-tools-extra/clangd/Config.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CompileCommandsTests.cpp
Commit 09b6dffb8ed19d624fddc7a57ce886f8be3c45b2 by nikita.ppv
Revert "[ADT] Support const-qualified unique_functions"

This reverts commit 01bf8cdf5fa9bc71869e15e5e351b2b68c39feb6.

Breaks the build:

llvm/include/llvm/ADT/FunctionExtras.h:223:7: error: explicit template argument list not allowed
  223 |       Callbacks<CallableT, CalledAs, EnableIfTrivial<CallableT>>;
The file was modifiedllvm/unittests/ADT/FunctionExtrasTest.cpp
The file was modifiedllvm/include/llvm/ADT/FunctionExtras.h
Commit c84a952dc7cab11fda4a6f622cf1c955631b99f5 by nikita.ppv
[IndVars] Regenerate test checks (NFC)
The file was modifiedllvm/test/Transforms/IndVarSimplify/elim-extend.ll
Commit 2bad2226801f32362036b471d35a40dc5f343632 by mvels
Add optimization to basic_string::assign for compile-time known constant values.

Summary:
This change optimizes the assign() methods for string where either the contents or lengths are compile time known constants. For small strings (< min_cap) we can execute the assignment entirely inline. For strings up to 128 bytes we allow the compiler to efficiently inline the copy operation after we call the offline __resize<>() method. Short / long branches are taken at the call site for better branch prediction and allowing FDO optimizations.

Benchmarks (unstable / google perflab):
```
name                                                old time/op             new time/op             delta
BM_StringAssignAsciiz_Empty_Opaque                  5.69ns ± 7%             5.97ns ± 7%     ~             (p=0.056 n=5+5)
BM_StringAssignAsciiz_Empty_Transparent             5.39ns ± 7%             0.79ns ± 8%  -85.36%          (p=0.008 n=5+5)
BM_StringAssignAsciiz_Small_Opaque                  11.2ns ± 5%             11.0ns ± 6%     ~             (p=0.548 n=5+5)
BM_StringAssignAsciiz_Small_Transparent             10.1ns ± 7%              1.0ns ± 8%  -89.76%          (p=0.008 n=5+5)
BM_StringAssignAsciiz_Large_Opaque                  23.5ns ± 7%             23.8ns ± 7%     ~             (p=0.841 n=5+5)
BM_StringAssignAsciiz_Large_Transparent             21.4ns ± 7%             12.7ns ± 7%  -40.83%          (p=0.008 n=5+5)
BM_StringAssignAsciiz_Huge_Opaque                    336ns ± 4%              327ns ± 7%     ~             (p=0.421 n=5+5)
BM_StringAssignAsciiz_Huge_Transparent               331ns ± 5%              324ns ± 7%     ~             (p=0.548 n=5+5)
BM_StringAssignAsciizMix_Opaque                     13.6ns ±10%             13.7ns ± 9%     ~             (p=0.690 n=5+5)
BM_StringAssignAsciizMix_Transparent                12.9ns ± 8%              3.6ns ± 8%  -71.82%          (p=0.008 n=5+5)
```

Reviewers: EricWF, #libc!

Subscribers: jfb, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D82221
The file was removedlibcxx/lib/abi/x86_64-apple-darwin.v2.abilist
The file was modifiedlibcxx/include/__string
The file was modifiedlibcxx/include/string
Commit a450e0d8d092441977d57ca052ba6eb0f800b4fc by llvmgnsyncbot
[gn build] Port 9963d93b073
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
Commit 6d01a9419351b8ff63b520fd86148795e0d9f381 by rnk
Silence unused var warning in NDEBUG build
The file was modifiedllvm/lib/IR/Function.cpp