SuccessChanges

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

Summary

  1. [clangd] Navigation from definition of template specialization to (details)
  2. [ARM] Disable VLD4 under MVE (details)
  3. [ARM] Attempt to use whole register vmovs for MVE shuffles. (details)
  4. [llvm-dwarfdump][Statistics] Unify coverage statistic computation (details)
  5. Revert "Driver: Don't look for libc++ headers in the install directory (details)
  6. [InstSimplify] fold copysign with negated operand (details)
  7. Fix typo in the AST Matcher Reference doc Closes: #54 (details)
  8. [InstSimplify] fold copysign with negated operand, part 2 (details)
Commit e8716a6df7abad68b6cf81c437a2e0524e88f3ad by zeratul976
[clangd] Navigation from definition of template specialization to
primary template
Fixes https://github.com/clangd/clangd/issues/212.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71090
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit 3a6eb5f16054e8c0f41a37542a5fc806016502a0 by david.green
[ARM] Disable VLD4 under MVE
Alas, using half the available vector registers in a single instruction
is just too much for the register allocator to handle. The mve-vldst4.ll
test here fails when these instructions are enabled at present. This
patch disables the generation of VLD4 and VST4 by adding a
mve-max-interleave-factor option, which we currently default to 2.
Differential Revision: https://reviews.llvm.org/D71109
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst4.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-interleaved-cost.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld4.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/Transforms/InterleavedAccess/ARM/interleaved-accesses.ll
The file was addedllvm/test/Transforms/LoopVectorize/ARM/mve-vldn.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-vldst4.ll
Commit 792fab343ba9029dd155f3ae5da30e12ed518c8a by david.green
[ARM] Attempt to use whole register vmovs for MVE shuffles.
MVE doesn't have the range of shuffle instructions available in Neon. We
also cannot use the trick of cutting a difficult vector shuffle in half
to simplify things. Instead we need to be more careful about how we
lower shuffles.
This patch adds an extra combine that attempts to find "whole lane"
vmovs when lowering shuffles of smaller types. This helps us make some
shuffles a lot simpler, generating single lane movs for the parts that
can make use of it, falling back to the original shuffle for the rest.
Differential Revision: https://reviews.llvm.org/D69509
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-shuffle.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-shufflemov.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vldst4.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld3.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst3.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst4.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-shuffle.ll
Commit 68f464ac2ef5de8cb2e8beaeee43c435c536539e by kbessonova
[llvm-dwarfdump][Statistics] Unify coverage statistic computation
Summary: The patch removes OffsetToFirstDefinition in the 'scope bytes
total' statistic computation. Thus it unifies the way the scope and the
coverage buckets are computed. The rationals behind that are the
following:
1. OffsetToFirstDefinition was used to calculate the variable's life
range. However, there is no simple way to do it accurately, so the scope
calculated this way might be misleading. See D69027 for more details on
the subject. 2. Both 'scope bytes total' and coverage buckets seem to be
intended to represent the same data in different ways. Otherwise, the
statistics might be controversial and confusing.
Note that the approach gives up a thorough evaluation of debug
information completeness (i.e. coverage buckets by themselves doesn't
tell how good the debug information is). Only changes in coverage over
time make a 'physical' sense.
Reviewers: djtodoro, aprantl, vsk, dblaikie, avl
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70548
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/locstats.ll
The file was modifiedllvm/utils/llvm-locstats/llvm-locstats.py
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/statistics-base-address.s
The file was modifiedllvm/tools/llvm-dwarfdump/Statistics.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/statistics-dwo.test
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/statistics-v3.test
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/statistics.ll
Commit b32490270b786d2c5ba154e613ee2d5e36ed4197 by dave
Revert "Driver: Don't look for libc++ headers in the install directory
on Android."
This reverts commit 198fbcb817492ff45946e3f7517de15e8cdf0607.
This breaks Fedora 31.
The file was modifiedclang/test/Driver/stdlibxx-isystem.cpp
The file was removedclang/test/Driver/android-no-installed-libcxx.cpp
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
Commit 12f39e0fede92ca04c811660530e750585124ed2 by spatel
[InstSimplify] fold copysign with negated operand
This is another transform suggested in PR44153:
https://bugs.llvm.org/show_bug.cgi?id=44153
The backend for some targets already manages to get this if it converts
copysign to bitwise logic.
The file was modifiedllvm/test/Transforms/InstSimplify/call.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit a05d7c278ee2a29aec73dbe5316e5cf2a2d190f8 by sylvestre
Fix typo in the AST Matcher Reference doc Closes: #54
The file was modifiedclang/docs/LibASTMatchersReference.html
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
Commit 1c4dd3ae2f34541e53ad0110f261421083bc0157 by spatel
[InstSimplify] fold copysign with negated operand, part 2
This is another transform suggested in PR44153:
https://bugs.llvm.org/show_bug.cgi?id=44153
Unlike rG12f39e0fede9, it doesn't look like the backend matches this
variant.
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/call.ll