FailedChanges

Summary

  1. Add support for pointer types in patterns Summary: This adds support for defining patterns for global isel using pointer types, for example: def : Pat<(load GPR32:$src), (p1 (LOAD GPR32:$src))>; DAGISelEmitter will ignore the pointer information and treat these types as integers with the same bit-width as the pointer type. Reviewers: dsanders, rtereshin, arsenm Reviewed By: arsenm Subscribers: Petar.Avramovic, wdng, rovka, kristof.beyls, jfb, volkan, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D57065
  2. [OPENMP] Use targetDiag for diagnostics of unsupported exceptions, NFC.
  3. Fix testcase.
  4. [clangd] Fix a crash in Selection Summary: The assertion checking that a range of a node is a token range does not hold in case of "split" tokens, e.g. between two closing template argument lists (`vector<vector<int>>`). Reviewers: kadircet, sammccall Reviewed By: kadircet Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58447
  5. [clangd] Store index in '.clangd/index' instead of '.clangd-index' Summary: To take up the .clangd folder for other potential uses in the future. Reviewers: kadircet, sammccall Reviewed By: kadircet Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58440
  6. Add test case.
  7. Fix remaining semicolon pedantic errors for intel
  8. [Clang Driver] Add support for "-static-pie" argument to the Clang driver. Summary: This change mimics GCC's support for the "-static-pie" argument. Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58307
  9. [X86] Add test case to show missed opportunity to remove an explicit AND on the bit position from BT when it has known zeros. NFC If the bit position has known zeros in it, then the AND immediate will likely be optimized to remove bits. This can prevent GetDemandedBits from recognizing that the AND is unnecessary.
  10. Fix license headers
  11. Revert r354498 "[X86] Add test case to show missed opportunity to remove an explicit AND on the bit position from BT when it has known zeros." I accidentally committed more than just the test.
  12. [X86] Add test case to show missed opportunity to remove an explicit AND on the bit position from BT when it has known zeros. If the bit position has known zeros in it, then the AND immediate will likely be optimized to remove bits. This can prevent GetDemandedBits from recognizing that the AND is unnecessary.
  13. AArch64/test: Add check for function name to machine-outliner-bad-adrp.mir Summary: This test was failing in one of our setups because the generated ModuleID had the full path of the test file and that path contained the string BL. Reviewers: t.p.northover, jpaquette, paquette Reviewed By: paquette Subscribers: javed.absar, kristof.beyls, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D58217
  14. Fixing NDEBUG typo in include/llvm/Support/raw_ostream.h NDEBUG is misspelled as NDBEBUG in include/llvm/Support/raw_ostream.h.
  15. [MCA][Scheduler] Correctly initialize field NumDispatchedToThePendingSet. This should have been part of r354490.
  16. Add partial implementation of std::to_address() as llvm::to_address() Summary: Following on from the review for D58088, this patch provides the prerequisite to_address() implementation that's needed to have pointer_iterator support unique_ptr. The late bound return should be removed once we move to C++14 to better align with the C++20 declaration. Also, this implementation can be removed once we move to C++20 where it's defined as std::to_addres() The std::pointer_traits<>::to_address(p) variations of these overloads has not been implemented. Reviewers: dblaikie, paquette Reviewed By: dblaikie Subscribers: dexonsmith, kristina, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D58421
  17. [MCA][Scheduler] Collect resource pressure and memory dependency bottlenecks. Every cycle, the Scheduler checks if instructions in the ReadySet can be issued to the underlying pipelines. If an instruction cannot be issued because one or more pipeline resources are unavailable, then field Instruction::CriticalResourceMask is updated with the resource identifier of the unavailable resources. If an instruction cannot be promoted from the PendingSet to the ReadySet because of a memory dependency, then field Instruction::CriticalMemDep is updated with the identifier of the dependending memory instruction. Bottleneck information is collected after every cycle for instructions that are waiting to execute. The idea is to help identify causes of bottlenecks; this information can be used in future to implement a bottleneck analysis.
  18. [X86][SSE] combineX86ShufflesRecursively - begin generalizing the number of shuffle inputs. NFCI. We currently bail if the target shuffle decodes to more than 2 input vectors, this is some initial cleanup that still has the limit but generalizes the opindices to an array that will be necessary when we drop the limit.
  19. [OPENMP] Delay emission of the asm target-specific error messages. Summary: Added the ability to emit target-specific builtin assembler error messages only in case if the function is really is going to be emitted for the device. Reviewers: rjmccall Subscribers: guansong, jdoerfert, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58243
  20. Update property prefix regex to allow numbers. Subscribers: jfb, cfe-commits Differential Revision: https://reviews.llvm.org/D56896
  21. [llvm-readelf]Test a couple of corner-cases for --section-mapping This patch adds two new tests for edge-case behaviour for --section- mapping, namely when there are no program headers, and when there are no section headers. Reviewed by: mattd Differential Revision: https://reviews.llvm.org/D58456
  22. Fix compile error with Intel's compiler (-Werror=pedantic) An extra semicolon at the end of macro invocations caused a build bot failure for Intel's compiler when pedantic is turned on.
  23. [CodeGen] Enable the complex-math test for arm This test wasn't running due to a missing : after the RUN statement. Enabling this test revealed that it's actually broken. Differential Revision: https://reviews.llvm.org/D58429
  24. GlobalISel: Fix fewerElementsVector for ctlz with different result type Also complete the set of related operations.
  25. [OPENMP][NVPTX]Use faster teams reduction algorithm. A faster way to reduce the values in teams reductions was found, the codegen is updated to use this faster algorithm and new runtime functions.
  26. GlobalISel: Implement moreElementsVector for g_insert results
  27. Re-land the refactoring part of r354244 "[DAGCombiner] Eliminate dead stores to stack." This is an NFC.
  28. [CGP][x86] add tests for usubo special-case; NFC This is another example from PR31754: https://bugs.llvm.org/show_bug.cgi?id=31754
  29. [obj2yaml][yaml2obj]Locate all .yaml and .test tests A number of the obj2yaml tests end in .yaml, but .yaml is not a default file type picked up by lit, so these tests weren't being run when running the testsuite as a whole (they could be run explicitly still). This change adds a lit local config file to specify the known file types for obj2yaml tests (.yaml and .test). Additionally, it fixes the yaml2obj config file to allow both .test and .yaml suffixed tests (previously, the two tests ending in '.test' were not being run). Reviewed by: grimar Differential Revision: https://reviews.llvm.org/D58439
  30. [Hexagon] Split vector pairs for ISD::SIGN_EXTEND and ISD::ZERO_EXTEND
  31. Speculative buildfix for Mac Our builds were failing with FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o [..] In file included from /b/c/b/ToTMac/src/third_party/llvm/lib/Support/ARMBuildAttrs.cpp:9: In file included from /b/c/b/ToTMac/src/third_party/llvm/include/llvm/ADT/StringRef.h:12: In file included from /b/c/b/ToTMac/src/third_party/llvm/include/llvm/ADT/STLExtras.h:19: /b/c/b/ToTMac/src/third_party/llvm/include/llvm/ADT/Optional.h:88:25: error: no member named 'addressof' in namespace 'std' ::new ((void *)std::addressof(value)) T(std::forward<Args>(args)...); ~~~~~^ Try to fix by including <memory>
  32. [MCA][ResourceManager] Add a table that maps processor resource indices to processor resource identifiers. This patch adds a lookup table to speed up resource queries in the ResourceManager. This patch also moves helper function 'getResourceStateIndex()' from ResourceManager.cpp to Support.h, so that we can reuse that logic in the SummaryView (and potentially other views in llvm-mca). No functional change intended.
  33. Fix the build with gcc/libstdc++ 4.8.2 after r354441
  34. [InstSimplify] use any-zero matcher for fcmp folds The m_APFloat matcher does not work with anything but strict splat vector constants, so we could miss these folds and then trigger an assertion in instcombine: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13201 The previous attempt at this in rL354406 had a logic bug that actually triggered a regression test failure, but I failed to notice it the first time.
  35. [yaml2elf] - Rename a variable. NFC. Was suggested during review of D58441.
  36. [yaml2obj] - Simplify implementation. NFCI. Knowing about how types are declared for 32/64 bit platforms: https://github.com/llvm-mirror/llvm/blob/master/include/llvm/BinaryFormat/ELF.h#L28 it is possible to simplify code that writes a binary a bit. The patch does that. Differential revision: https://reviews.llvm.org/D58441
  37. [MIPS MSA] Avoid some DAG combines for vector shifts DAG combiner combines two shifts into shift + and with bitmask. Avoid such combines for vectors since leaving two vector shifts as they are produces better end results. Differential Revision: https://reviews.llvm.org/D58225
  38. [clangd] Fix a typo. NFC The documentation for -index-file mentioned clang-index instead of clangd-indexer.
  39. [MIPS MSA] Add test for vector shift combines Add test for vector shift combines.
  40. [SLPVectorizer][X86] Add add/sub/mul overflow tests Baseline tests - overflow intrinsics aren't flagged as vectorizable yet
  41. [clangd] Revert r354442 and r354444 Looks like sysroot is only working on linux.
  42. [clang-format] Do not emit replacements if Java imports are OK Summary: Currently clang-format would always emit a replacement for a block of Java imports even if it is correctly formatted: ``` % cat /tmp/Aggregator.java import X; % clang-format /tmp/Aggregator.java import X; % clang-format -output-replacements-xml /tmp/Aggregator.java <?xml version='1.0'?> <replacements xml:space='preserve' incomplete_format='false'> <replacement offset='0' length='9'>import X;</replacement> </replacements> % ``` This change makes clang-format not emit replacements in this case. Note that there is logic to not emit replacements in this case for C++. Reviewers: ioeric Reviewed By: ioeric Subscribers: jdoerfert, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58436
  43. [sanitizers] Restore internal_readlink for x32 r316591 has @@ -389,13 +383,11 @@ uptr internal_dup2(int oldfd, int newfd) { } uptr internal_readlink(const char *path, char *buf, uptr bufsize) { -#if SANITIZER_NETBSD - return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize); -#elif SANITIZER_USES_CANONICAL_LINUX_SYSCALLS +#if SANITIZER_USES_CANONICAL_LINUX_SYSCALLS return internal_syscall(SYSCALL(readlinkat), AT_FDCWD, (uptr)path, (uptr)buf, bufsize); #else - return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize); + return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize); #endif } which dropped the (uptr) cast and broke x32. This patch puts back the (uptr) cast to restore x32 and fixes: https://bugs.llvm.org/show_bug.cgi?id=40783 Differential Revision: https://reviews.llvm.org/D58413
  44. [clangd] Try to fix windows build bots
  45. [Codegen] Remove dead flags on Physical Defs in machine cse We may leave behind incorrect dead flags on instructions that are CSE'd. Make sure we remove the dead flags on physical registers to prevent other incorrect code motion. Differential Revision: https://reviews.llvm.org/D58115
  46. [clangd] Testcase for bug 39811 Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, jdoerfert, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58133
Revision 354510 by tstellar:
Add support for pointer types in patterns

Summary:
This adds support for defining patterns for global isel using pointer
types, for example:

def : Pat<(load GPR32:$src),
          (p1 (LOAD GPR32:$src))>;

DAGISelEmitter will ignore the pointer information and treat these
types as integers with the same bit-width as the pointer type.

Reviewers: dsanders, rtereshin, arsenm

Reviewed By: arsenm

Subscribers: Petar.Avramovic, wdng, rovka, kristof.beyls, jfb, volkan, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D57065
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/ValueTypes.td (diff)llvm.src/include/llvm/CodeGen/ValueTypes.td
The file was modified/llvm/trunk/test/TableGen/GlobalISelEmitter.td (diff)llvm.src/test/TableGen/GlobalISelEmitter.td
The file was modified/llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp (diff)llvm.src/utils/TableGen/CodeGenDAGPatterns.cpp
The file was modified/llvm/trunk/utils/TableGen/CodeGenDAGPatterns.h (diff)llvm.src/utils/TableGen/CodeGenDAGPatterns.h
The file was modified/llvm/trunk/utils/TableGen/GlobalISelEmitter.cpp (diff)llvm.src/utils/TableGen/GlobalISelEmitter.cpp
The file was modified/llvm/trunk/utils/TableGen/InfoByHwMode.cpp (diff)llvm.src/utils/TableGen/InfoByHwMode.cpp
The file was modified/llvm/trunk/utils/TableGen/InfoByHwMode.h (diff)llvm.src/utils/TableGen/InfoByHwMode.h
Revision 354509 by abataev:
[OPENMP] Use targetDiag for diagnostics of unsupported exceptions, NFC.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Sema/SemaExprCXX.cpp (diff)clang.src/lib/Sema/SemaExprCXX.cpp
The file was modified/cfe/trunk/lib/Sema/SemaStmt.cpp (diff)clang.src/lib/Sema/SemaStmt.cpp
Revision 354508 by niravd:
Fix testcase.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/pr40631_deadstore_elision.ll (diff)llvm.src/test/CodeGen/X86/pr40631_deadstore_elision.ll
Revision 354507 by ibiryukov:
[clangd] Fix a crash in Selection

Summary:
The assertion checking that a range of a node is a token range does
not hold in case of "split" tokens, e.g. between two closing template
argument lists (`vector<vector<int>>`).

Reviewers: kadircet, sammccall

Reviewed By: kadircet

Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58447
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clangd/Selection.cpp (diff)clang-tools-extra.src/clangd/Selection.cpp
The file was modified/clang-tools-extra/trunk/unittests/clangd/SelectionTests.cpp (diff)clang-tools-extra.src/unittests/clangd/SelectionTests.cpp
Revision 354505 by ibiryukov:
[clangd] Store index in '.clangd/index' instead of '.clangd-index'

Summary: To take up the .clangd folder for other potential uses in the future.

Reviewers: kadircet, sammccall

Reviewed By: kadircet

Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58440
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clangd/index/Background.h (diff)clang-tools-extra.src/clangd/index/Background.h
The file was modified/clang-tools-extra/trunk/clangd/index/BackgroundIndexStorage.cpp (diff)clang-tools-extra.src/clangd/index/BackgroundIndexStorage.cpp
The file was modified/clang-tools-extra/trunk/test/clangd/background-index.test (diff)clang-tools-extra.src/test/clangd/background-index.test
The file was modified/llvm/trunk/.gitignore (diff)llvm.src/.gitignore
Revision 354504 by niravd:
Add test case.
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/CodeGen/X86/pr40631_deadstore_elision.llllvm.src/test/CodeGen/X86/pr40631_deadstore_elision.ll
Revision 354503 by martong:
Fix remaining semicolon pedantic errors for intel
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/unittests/AST/ASTImporterTest.cpp (diff)clang.src/unittests/AST/ASTImporterTest.cpp
Revision 354502 by sivachandra:
[Clang Driver] Add support for "-static-pie" argument to the Clang driver.

Summary: This change mimics GCC's support for the "-static-pie" argument.

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58307
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Driver/Options.td (diff)clang.src/include/clang/Driver/Options.td
The file was modified/cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp (diff)clang.src/lib/Driver/ToolChains/CommonArgs.cpp
The file was modified/cfe/trunk/lib/Driver/ToolChains/Gnu.cpp (diff)clang.src/lib/Driver/ToolChains/Gnu.cpp
The file was modified/cfe/trunk/test/Driver/linux-ld.c (diff)clang.src/test/Driver/linux-ld.c
Revision 354501 by ctopper:
[X86] Add test case to show missed opportunity to remove an explicit AND on the bit position from BT when it has known zeros. NFC

If the bit position has known zeros in it, then the AND immediate will likely be optimized to remove bits.

This can prevent GetDemandedBits from recognizing that the AND is unnecessary.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/bt.ll (diff)llvm.src/test/CodeGen/X86/bt.ll
Revision 354500 by Vitaly Buka:
Fix license headers
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/test/fuzzer/Switch3Test.cpp (diff)compiler-rt.src/test/fuzzer/Switch3Test.cpp
Revision 354499 by ctopper:
Revert r354498 "[X86] Add test case to show missed opportunity to remove an explicit AND on the bit position from BT when it has known zeros."

I accidentally committed more than just the test.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/bt.ll (diff)llvm.src/test/CodeGen/X86/bt.ll
Revision 354498 by ctopper:
[X86] Add test case to show missed opportunity to remove an explicit AND on the bit position from BT when it has known zeros.

If the bit position has known zeros in it, then the AND immediate will likely be optimized to remove bits.

This can prevent GetDemandedBits from recognizing that the AND is unnecessary.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/bt.ll (diff)llvm.src/test/CodeGen/X86/bt.ll
Revision 354497 by tstellar:
AArch64/test: Add check for function name to machine-outliner-bad-adrp.mir

Summary:
This test was failing in one of our setups because the generated ModuleID
had the full path of the test file and that path contained the string
BL.

Reviewers: t.p.northover, jpaquette, paquette

Reviewed By: paquette

Subscribers: javed.absar, kristof.beyls, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D58217
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/AArch64/machine-outliner-bad-adrp.mir (diff)llvm.src/test/CodeGen/AArch64/machine-outliner-bad-adrp.mir
Revision 354495 by zer0:
Fixing NDEBUG typo in include/llvm/Support/raw_ostream.h

NDEBUG is misspelled as NDBEBUG in include/llvm/Support/raw_ostream.h.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Support/raw_ostream.h (diff)llvm.src/include/llvm/Support/raw_ostream.h
Revision 354493 by adibiagio:
[MCA][Scheduler] Correctly initialize field NumDispatchedToThePendingSet.

This should have been part of r354490.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/MCA/HardwareUnits/Scheduler.h (diff)llvm.src/include/llvm/MCA/HardwareUnits/Scheduler.h
Revision 354491 by dsanders:
Add partial implementation of std::to_address() as llvm::to_address()

Summary:
Following on from the review for D58088, this patch provides the
prerequisite to_address() implementation that's needed to have
pointer_iterator support unique_ptr.

The late bound return should be removed once we move to C++14 to better
align with the C++20 declaration. Also, this implementation can be removed
once we move to C++20 where it's defined as std::to_addres()

The std::pointer_traits<>::to_address(p) variations of these overloads has
not been implemented.

Reviewers: dblaikie, paquette

Reviewed By: dblaikie

Subscribers: dexonsmith, kristina, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D58421
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/ADT/STLExtras.h (diff)llvm.src/include/llvm/ADT/STLExtras.h
The file was modified/llvm/trunk/unittests/ADT/STLExtrasTest.cpp (diff)llvm.src/unittests/ADT/STLExtrasTest.cpp
Revision 354490 by adibiagio:
[MCA][Scheduler] Collect resource pressure and memory dependency bottlenecks.

Every cycle, the Scheduler checks if instructions in the ReadySet can be issued
to the underlying pipelines. If an instruction cannot be issued because one or
more pipeline resources are unavailable, then field
Instruction::CriticalResourceMask is updated with the resource identifier of the
unavailable resources.

If an instruction cannot be promoted from the PendingSet to the ReadySet because
of a memory dependency, then field Instruction::CriticalMemDep is updated with
the identifier of the dependending memory instruction.

Bottleneck information is collected after every cycle for instructions that are
waiting to execute. The idea is to help identify causes of bottlenecks; this
information can be used in future to implement a bottleneck analysis.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/MCA/HardwareUnits/Scheduler.h (diff)llvm.src/include/llvm/MCA/HardwareUnits/Scheduler.h
The file was modified/llvm/trunk/include/llvm/MCA/Instruction.h (diff)llvm.src/include/llvm/MCA/Instruction.h
The file was modified/llvm/trunk/lib/MCA/HardwareUnits/Scheduler.cpp (diff)llvm.src/lib/MCA/HardwareUnits/Scheduler.cpp
The file was modified/llvm/trunk/lib/MCA/Stages/DispatchStage.cpp (diff)llvm.src/lib/MCA/Stages/DispatchStage.cpp
The file was modified/llvm/trunk/lib/MCA/Stages/ExecuteStage.cpp (diff)llvm.src/lib/MCA/Stages/ExecuteStage.cpp
Revision 354489 by rksimon:
[X86][SSE] combineX86ShufflesRecursively - begin generalizing the number of shuffle inputs. NFCI.

We currently bail if the target shuffle decodes to more than 2 input vectors, this is some initial cleanup that still has the limit but generalizes the opindices to an array that will be necessary when we drop the limit.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (diff)llvm.src/lib/Target/X86/X86ISelLowering.cpp
Revision 354486 by abataev:
[OPENMP] Delay emission of the asm target-specific error messages.

Summary:
Added the ability to emit target-specific builtin assembler error
messages only in case if the function is really is going to be emitted
for the device.

Reviewers: rjmccall

Subscribers: guansong, jdoerfert, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58243
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Sema/Sema.h (diff)clang.src/include/clang/Sema/Sema.h
The file was modified/cfe/trunk/lib/Sema/Sema.cpp (diff)clang.src/lib/Sema/Sema.cpp
The file was modified/cfe/trunk/lib/Sema/SemaStmtAsm.cpp (diff)clang.src/lib/Sema/SemaStmtAsm.cpp
The file was added/cfe/trunk/test/OpenMP/nvptx_asm_delayed_diags.cclang.src/test/OpenMP/nvptx_asm_delayed_diags.c
Revision 354485 by wizard:
Update property prefix regex to allow numbers.

Subscribers: jfb, cfe-commits

Differential Revision: https://reviews.llvm.org/D56896
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clang-tidy/objc/PropertyDeclarationCheck.cpp (diff)clang-tools-extra.src/clang-tidy/objc/PropertyDeclarationCheck.cpp
The file was modified/clang-tools-extra/trunk/test/clang-tidy/objc-property-declaration.m (diff)clang-tools-extra.src/test/clang-tidy/objc-property-declaration.m
Revision 354484 by jhenderson:
[llvm-readelf]Test a couple of corner-cases for --section-mapping

This patch adds two new tests for edge-case behaviour for --section-
mapping, namely when there are no program headers, and when there are no
section headers.

Reviewed by: mattd

Differential Revision: https://reviews.llvm.org/D58456
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/tools/llvm-readobj/gnu-section-mapping-no-phdrs.testllvm.src/test/tools/llvm-readobj/gnu-section-mapping-no-phdrs.test
The file was added/llvm/trunk/test/tools/llvm-readobj/gnu-section-mapping-no-shdrs.testllvm.src/test/tools/llvm-readobj/gnu-section-mapping-no-shdrs.test
Revision 354482 by martong:
Fix compile error with Intel's compiler (-Werror=pedantic)

An extra semicolon at the end of macro invocations caused a build bot
failure for Intel's compiler when pedantic is turned on.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/unittests/AST/ASTImporterTest.cpp (diff)clang.src/unittests/AST/ASTImporterTest.cpp
Revision 354481 by phosek:
[CodeGen] Enable the complex-math test for arm

This test wasn't running due to a missing : after the RUN statement.
Enabling this test revealed that it's actually broken.

Differential Revision: https://reviews.llvm.org/D58429
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/test/CodeGen/complex-math.c (diff)clang.src/test/CodeGen/complex-math.c
Revision 354480 by arsenm:
GlobalISel: Fix fewerElementsVector for ctlz with different result type

Also complete the set of related operations.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/GlobalISel/LegalizerHelper.cpp (diff)llvm.src/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz-zero-undef.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz-zero-undef.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-ctpop.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-ctpop.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz-zero-undef.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz-zero-undef.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz.mir
Revision 354479 by abataev:
[OPENMP][NVPTX]Use faster teams reduction algorithm.

A faster way to reduce the values in teams reductions was found, the
codegen is updated to use this faster algorithm and new runtime functions.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/LangOptions.def (diff)clang.src/include/clang/Basic/LangOptions.def
The file was modified/cfe/trunk/include/clang/Driver/Options.td (diff)clang.src/include/clang/Driver/Options.td
The file was modified/cfe/trunk/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp (diff)clang.src/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGOpenMPRuntimeNVPTX.h (diff)clang.src/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
The file was modified/cfe/trunk/lib/Driver/ToolChains/Clang.cpp (diff)clang.src/lib/Driver/ToolChains/Clang.cpp
The file was modified/cfe/trunk/lib/Frontend/CompilerInvocation.cpp (diff)clang.src/lib/Frontend/CompilerInvocation.cpp
The file was modified/cfe/trunk/test/Driver/openmp-offload-gpu.c (diff)clang.src/test/Driver/openmp-offload-gpu.c
The file was modified/cfe/trunk/test/OpenMP/nvptx_teams_reduction_codegen.cpp (diff)clang.src/test/OpenMP/nvptx_teams_reduction_codegen.cpp
Revision 354477 by arsenm:
GlobalISel: Implement moreElementsVector for g_insert results
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/GlobalISel/LegalizerHelper.cpp (diff)llvm.src/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-and.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-and.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-fabs.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-fabs.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-fma.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-fma.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-fneg.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-fneg.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-insert.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-insert.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-or.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-or.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-select.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-select.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-xor.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-xor.mir
Revision 354476 by courbet:
Re-land the refactoring part of r354244 "[DAGCombiner] Eliminate dead stores to stack."

This is an NFC.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h (diff)llvm.src/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
Revision 354475 by spatel:
[CGP][x86] add tests for usubo special-case; NFC

This is another example from PR31754:
https://bugs.llvm.org/show_bug.cgi?id=31754
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/cgp-usubo.ll (diff)llvm.src/test/CodeGen/X86/cgp-usubo.ll
The file was modified/llvm/trunk/test/Transforms/CodeGenPrepare/X86/overflow-intrinsics.ll (diff)llvm.src/test/Transforms/CodeGenPrepare/X86/overflow-intrinsics.ll
Revision 354474 by jhenderson:
[obj2yaml][yaml2obj]Locate all .yaml and .test tests

A number of the obj2yaml tests end in .yaml, but .yaml is not a default
file type picked up by lit, so these tests weren't being run when
running the testsuite as a whole (they could be run explicitly still).
This change adds a lit local config file to specify the known file types
for obj2yaml tests (.yaml and .test). Additionally, it fixes the
yaml2obj config file to allow both .test and .yaml suffixed tests
(previously, the two tests ending in '.test' were not being run).

Reviewed by: grimar

Differential Revision: https://reviews.llvm.org/D58439
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/tools/obj2yaml/lit.local.cfgllvm.src/test/tools/obj2yaml/lit.local.cfg
The file was modified/llvm/trunk/test/tools/yaml2obj/lit.local.cfg (diff)llvm.src/test/tools/yaml2obj/lit.local.cfg
Revision 354473 by kparzysz:
[Hexagon] Split vector pairs for ISD::SIGN_EXTEND and ISD::ZERO_EXTEND
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp (diff)llvm.src/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
The file was modified/llvm/trunk/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp (diff)llvm.src/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
The file was added/llvm/trunk/test/CodeGen/Hexagon/autohvx/isel-q2v-pair.llllvm.src/test/CodeGen/Hexagon/autohvx/isel-q2v-pair.ll
Revision 354472 by hans:
Speculative buildfix for Mac

Our builds were failing with

FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o
[..]
In file included from /b/c/b/ToTMac/src/third_party/llvm/lib/Support/ARMBuildAttrs.cpp:9:
In file included from /b/c/b/ToTMac/src/third_party/llvm/include/llvm/ADT/StringRef.h:12:
In file included from /b/c/b/ToTMac/src/third_party/llvm/include/llvm/ADT/STLExtras.h:19:
/b/c/b/ToTMac/src/third_party/llvm/include/llvm/ADT/Optional.h:88:25: error: no member named 'addressof' in namespace 'std'
    ::new ((void *)std::addressof(value)) T(std::forward<Args>(args)...);
                   ~~~~~^

Try to fix by including <memory>
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/ADT/Optional.h (diff)llvm.src/include/llvm/ADT/Optional.h
Revision 354470 by adibiagio:
[MCA][ResourceManager] Add a table that maps processor resource indices to processor resource identifiers.

This patch adds a lookup table to speed up resource queries in the ResourceManager.
This patch also moves helper function 'getResourceStateIndex()' from
ResourceManager.cpp to Support.h, so that we can reuse that logic in the
SummaryView (and potentially other views in llvm-mca).
No functional change intended.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/MCA/HardwareUnits/ResourceManager.h (diff)llvm.src/include/llvm/MCA/HardwareUnits/ResourceManager.h
The file was modified/llvm/trunk/include/llvm/MCA/Support.h (diff)llvm.src/include/llvm/MCA/Support.h
The file was modified/llvm/trunk/lib/MCA/HardwareUnits/ResourceManager.cpp (diff)llvm.src/lib/MCA/HardwareUnits/ResourceManager.cpp
The file was modified/llvm/trunk/tools/llvm-mca/Views/SummaryView.cpp (diff)llvm.src/tools/llvm-mca/Views/SummaryView.cpp
The file was modified/llvm/trunk/tools/llvm-mca/Views/SummaryView.h (diff)llvm.src/tools/llvm-mca/Views/SummaryView.h
Revision 354469 by hans:
Fix the build with gcc/libstdc++ 4.8.2 after r354441
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/tools/llvm-exegesis/lib/Clustering.cpp (diff)llvm.src/tools/llvm-exegesis/lib/Clustering.cpp
Revision 354467 by spatel:
[InstSimplify] use any-zero matcher for fcmp folds

The m_APFloat matcher does not work with anything but strict
splat vector constants, so we could miss these folds and then
trigger an assertion in instcombine:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13201

The previous attempt at this in rL354406 had a logic bug that
actually triggered a regression test failure, but I failed to
notice it the first time.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Analysis/InstructionSimplify.cpp (diff)llvm.src/lib/Analysis/InstructionSimplify.cpp
The file was modified/llvm/trunk/test/Transforms/InstSimplify/floating-point-compare.ll (diff)llvm.src/test/Transforms/InstSimplify/floating-point-compare.ll
Revision 354463 by grimar:
[yaml2elf] - Rename a variable. NFC.

Was suggested during review of D58441.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/tools/yaml2obj/yaml2elf.cpp (diff)llvm.src/tools/yaml2obj/yaml2elf.cpp
Revision 354462 by grimar:
[yaml2obj] - Simplify implementation. NFCI.

Knowing about how types are declared for 32/64 bit platforms:
https://github.com/llvm-mirror/llvm/blob/master/include/llvm/BinaryFormat/ELF.h#L28

it is possible to simplify code that writes a binary a bit.
The patch does that.

Differential revision: https://reviews.llvm.org/D58441
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/tools/yaml2obj/yaml2elf.cpp (diff)llvm.src/tools/yaml2obj/yaml2elf.cpp
Revision 354461 by petar.avramovic:
[MIPS MSA] Avoid some DAG combines for vector shifts

DAG combiner combines two shifts into shift + and with bitmask.
Avoid such combines for vectors since leaving two vector shifts
as they are produces better end results.

Differential Revision: https://reviews.llvm.org/D58225
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp (diff)llvm.src/lib/Target/Mips/MipsISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/Mips/MipsISelLowering.h (diff)llvm.src/lib/Target/Mips/MipsISelLowering.h
The file was added/llvm/trunk/test/CodeGen/Mips/msa/avoid_vector_shift_combines.llllvm.src/test/CodeGen/Mips/msa/avoid_vector_shift_combines.ll
The file was removed/llvm/trunk/test/CodeGen/Mips/msa/vector_shift_combines.llllvm.src/test/CodeGen/Mips/msa/vector_shift_combines.ll
Revision 354456 by ibiryukov:
[clangd] Fix a typo. NFC

The documentation for -index-file mentioned clang-index instead of
clangd-indexer.
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp (diff)clang-tools-extra.src/clangd/tool/ClangdMain.cpp
Revision 354455 by petar.avramovic:
[MIPS MSA] Add test for vector shift combines

Add test for vector shift combines.
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/CodeGen/Mips/msa/vector_shift_combines.llllvm.src/test/CodeGen/Mips/msa/vector_shift_combines.ll
Revision 354454 by rksimon:
[SLPVectorizer][X86] Add add/sub/mul overflow tests

Baseline tests - overflow intrinsics aren't flagged as vectorizable yet
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/Transforms/SLPVectorizer/X86/arith-add-saddo.llllvm.src/test/Transforms/SLPVectorizer/X86/arith-add-saddo.ll
The file was added/llvm/trunk/test/Transforms/SLPVectorizer/X86/arith-add-uaddo.llllvm.src/test/Transforms/SLPVectorizer/X86/arith-add-uaddo.ll
The file was added/llvm/trunk/test/Transforms/SLPVectorizer/X86/arith-mul-smulo.llllvm.src/test/Transforms/SLPVectorizer/X86/arith-mul-smulo.ll
The file was added/llvm/trunk/test/Transforms/SLPVectorizer/X86/arith-mul-umulo.llllvm.src/test/Transforms/SLPVectorizer/X86/arith-mul-umulo.ll
The file was added/llvm/trunk/test/Transforms/SLPVectorizer/X86/arith-sub-ssubo.llllvm.src/test/Transforms/SLPVectorizer/X86/arith-sub-ssubo.ll
The file was added/llvm/trunk/test/Transforms/SLPVectorizer/X86/arith-sub-usubo.llllvm.src/test/Transforms/SLPVectorizer/X86/arith-sub-usubo.ll
Revision 354453 by kadircet:
[clangd] Revert r354442 and r354444

Looks like sysroot is only working on linux.
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/unittests/clangd/XRefsTests.cpp (diff)clang-tools-extra.src/unittests/clangd/XRefsTests.cpp
Revision 354452 by krasimir:
[clang-format] Do not emit replacements if Java imports are OK

Summary:
Currently clang-format would always emit a replacement for a block of Java imports even if it is correctly formatted:
```
% cat /tmp/Aggregator.java
import X;
% clang-format /tmp/Aggregator.java
import X;
% clang-format -output-replacements-xml /tmp/Aggregator.java
<?xml version='1.0'?>
<replacements xml:space='preserve' incomplete_format='false'>
<replacement offset='0' length='9'>import X;</replacement>
</replacements>
%
```
This change makes clang-format not emit replacements in this case. Note that
there is logic to not emit replacements in this case for C++.

Reviewers: ioeric

Reviewed By: ioeric

Subscribers: jdoerfert, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58436
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Format/Format.cpp (diff)clang.src/lib/Format/Format.cpp
The file was modified/cfe/trunk/unittests/Format/SortImportsTestJava.cpp (diff)clang.src/unittests/Format/SortImportsTestJava.cpp
Revision 354451 by hjl:
[sanitizers] Restore internal_readlink for x32

r316591 has

@@ -389,13 +383,11 @@ uptr internal_dup2(int oldfd, int newfd) {
}

uptr internal_readlink(const char *path, char *buf, uptr bufsize) {
-#if SANITIZER_NETBSD
-  return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize);
-#elif SANITIZER_USES_CANONICAL_LINUX_SYSCALLS
+#if SANITIZER_USES_CANONICAL_LINUX_SYSCALLS
   return internal_syscall(SYSCALL(readlinkat), AT_FDCWD,
                           (uptr)path, (uptr)buf, bufsize);
#else
-  return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize);
+  return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize);
#endif
}

which dropped the (uptr) cast and broke x32.  This patch puts back the
(uptr) cast to restore x32 and fixes:

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

Differential Revision: https://reviews.llvm.org/D58413
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_linux.cc
The file was modified/compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_common_test.cc (diff)compiler-rt.src/lib/sanitizer_common/tests/sanitizer_common_test.cc
Revision 354444 by kadircet:
[clangd] Try to fix windows build bots
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/unittests/clangd/XRefsTests.cpp (diff)clang-tools-extra.src/unittests/clangd/XRefsTests.cpp
Revision 354443 by dmgreen:
[Codegen] Remove dead flags on Physical Defs in machine cse

We may leave behind incorrect dead flags on instructions that are CSE'd. Make
sure we remove the dead flags on physical registers to prevent other incorrect
code motion.

Differential Revision: https://reviews.llvm.org/D58115
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/MachineCSE.cpp (diff)llvm.src/lib/CodeGen/MachineCSE.cpp
The file was added/llvm/trunk/test/CodeGen/Thumb/machine-cse-deadreg.mirllvm.src/test/CodeGen/Thumb/machine-cse-deadreg.mir
Revision 354442 by kadircet:
[clangd] Testcase for bug 39811

Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, jdoerfert, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58133
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/unittests/clangd/XRefsTests.cpp (diff)clang-tools-extra.src/unittests/clangd/XRefsTests.cpp