FailedChanges

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

Summary

  1. Reland: [clang driver] Move default module cache from system temporary directory (details)
  2. Fix unused type alias warning. NFC. (details)
  3. [X86] Add AVX tests buildvec-insertvec.ll (details)
  4. [X86] Add PR46461 test case (details)
  5. [DAG] reduceBuildVecExtToExtBuildVec - don't combine if it would break a splat. (details)
  6. FileCollector.h - reduce Twine.h include to forward declaration. NFC. (details)
  7. [clang-format] [PR462254] fix indentation of default and break correctly in whitesmiths style (details)
  8. ThreadPool.h - remove unused BitVector.h include. NFC. (details)
  9. Revert "[Docs] Fix typo and test git commit access. NFC." (details)
  10. [clang-format] NFC 1% improvement in the overall clang-formatted status (details)
Commit dab859d1bf250c4d0299ac505e2a6773c56b6503 by dave
Reland: [clang driver] Move default module cache from system temporary directory

This fixes a unit test. Otherwise here is the original commit:

1) Shared writable directories like /tmp are a security problem.
2) Systems provide dedicated cache directories these days anyway.
3) This also refines LLVM's cache_directory() on Darwin platforms to use
   the Darwin per-user cache directory.

Reviewers: compnerd, aprantl, jakehehrlich, espindola, respindola, ilya-biryukov, pcc, sammccall

Reviewed By: compnerd, sammccall

Subscribers: hiraditya, llvm-commits, cfe-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D82362
The file was modifiedclang/test/Driver/modules-cache-path.m
The file was modifiedllvm/lib/Support/Unix/Path.inc
The file was modifiedclang/unittests/Driver/ModuleCacheTest.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Driver/Driver.h
The file was modifiedllvm/unittests/Support/Path.cpp
Commit b392fb33761e983a8edb5946734427779e25bbe2 by llvm-dev
Fix unused type alias warning. NFC.

The "using InsertPointTy" line is an unnecessary copy + paste from other builder tests.
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
Commit 5883f6f977a9b90913451e3e3dc13e14d7cddaac by llvm-dev
[X86] Add AVX tests buildvec-insertvec.ll
The file was modifiedllvm/test/CodeGen/X86/buildvec-insertvec.ll
Commit 878a24d369ea4d627fb48f7af5edc28fd079a0c0 by llvm-dev
[X86] Add PR46461 test case
The file was modifiedllvm/test/CodeGen/X86/buildvec-insertvec.ll
Commit 6bdb3ce4529ffbaad0354b052f2e9f06b4431085 by llvm-dev
[DAG] reduceBuildVecExtToExtBuildVec - don't combine if it would break a splat.

reduceBuildVecExtToExtBuildVec was breaking a splat(zext(x)) pattern into buildvector(x, 0, x, 0, ..) resulting in much more complex insert+shuffle codegen.

We already go to some lengths to avoid this in SimplifyDemandedVectorElts etc. when we encounter splat buildvectors.

It should be OK to fold all splat(aext(x)) patterns - we might need to tighten this if we find a case where we mustn't introduce a buildvector(x, undef, x, undef, ..) but I can't find one.

Fixes PR46461.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/broadcastm-lowering.ll
The file was modifiedllvm/test/CodeGen/X86/buildvec-insertvec.ll
Commit 892df9e706e43c48854be8bf544c41a146611607 by llvm-dev
FileCollector.h - reduce Twine.h include to forward declaration. NFC.
The file was modifiedllvm/include/llvm/Support/FileCollector.h
The file was modifiedllvm/lib/Support/FileCollector.cpp
Commit eb50838ba08d4149182828b96956a57ec6f5f658 by mydeveloperday
[clang-format] [PR462254] fix indentation of default and break correctly in whitesmiths style

Summary:
https://bugs.llvm.org/show_bug.cgi?id=46254

Reviewed By: curdeius, jbcoe

Differential Revision: https://reviews.llvm.org/D8201
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 8b9e9753ea6875fb954a5bcdfed132dd75d63d29 by llvm-dev
ThreadPool.h - remove unused BitVector.h include. NFC.
The file was modifiedllvm/include/llvm/Support/ThreadPool.h
Commit 43e3c39327f9c32bea73b2629b718e9f5fd678d1 by 1585086582
Revert "[Docs] Fix typo and test git commit access. NFC."

This reverts commit c19e82c6b38b74c56d595cb69582b7c3727762b5.
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/readability-make-member-function-const.rst
Commit a43b99a1e38e2beffb68a6db93f216f511e7fd41 by mydeveloperday
[clang-format] NFC 1% improvement in the overall clang-formatted status
The file was modifiedclang/docs/ClangFormattedStatus.rst