SuccessChanges

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

Summary

  1. [zorg] Rename cross-targeting buildbot on AIX (details)
Commit 70ac07d8c27d2c50efc49872530f23c5ee6e406c by Xiangling.Liao
[zorg] Rename cross-targeting buildbot on AIX

Differential Revision: https://reviews.llvm.org/D97222
The file was modifiedbuildbot/osuosl/master/config/builders.py
The file was modifiedbuildbot/osuosl/master/config/workers.py

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

Summary

  1. patch (details)
  2. [Docs] Mention clone depth feature of git in LLVM getting started (details)
  3. [libc][NFC] Merge llvmlibc and llvmlibm targets in to a single target. (details)
  4. Revert "patch" it wass my mistake inusing git (details)
  5. Reduce the number of attributes attached to each function (details)
  6. [ThinLTO, NewPM] Run OptimizerLastEPCallbacks from buildThinLTOPreLinkDefaultPipeline (details)
  7. [asan] Increase CHECK limit in __sanitizer_annotate_contiguous_container (details)
  8. [Test][AArch64] Test SADDO/SSUBO narrowing legalization (details)
  9. [LegalizeIntegerTypes] Use GetExpandedInteger instead of SplitInteger in ExpandIntRes_XMULO. (details)
  10. Add REQUIRES aarch64 to test incompatible-arch.s since it fails if that target is not built. (details)
  11. [libc++] [docs] [C++2b] Update status page with papers adopted in February 2021 virtual meeting. (details)
  12. Revert "[InstrProfiling] Use nobits as __llvm_prf_cnts section type in ELF" (details)
  13. [ARM] Expand the range of allowed post-incs in load/store optimizer (details)
  14. [LLD] [COFF] Allow invoking lib.exe mode via -lib in addition to /lib (details)
  15. [libcxx] [test] Don't pass INCLUDE to clang via -isystem (details)
  16. [OpenCL] Add declarations with enum/typedef args (details)
  17. [OpenCL] Add ndrange builtin functions to TableGen (details)
  18. [AArch64] Use CMTST for != 0 vector compares (vnot (CMEQz A)). (details)
  19. [JITLink] Fix comments about JITLink's generic link algorithm. (details)
  20. [JITLink] Add assertions, fix a comment. (details)
  21. [docs][JITLink] Add a JITLink design and API document. (details)
  22. [docs][JITLink] Sphinx does not like '::' in monotype. Try using a (details)
  23. Update REQUIRES line in 4 tests that attempt to use arm64 which should be aarch64 not arm. (details)
  24. [mlir][linalg] Fix Linalg roundtrip test. (details)
  25. Recommit "[LV] Allow tryToCreateWidenRecipe to return a VPValue, use for blends." (details)
  26. [docs][JITLink] More attempted fixes for formatting issues in the JITLink doc. (details)
  27. [docs][JITLink] Try explicit literal blocks for monospace list elements. (details)
  28. [docs][JITLink] Return to `` for inline literals. (details)
  29. [docs][JITLink] Make ``ObjectLinkingLayer`` not a paragraph start. (details)
  30. [DAG] Add basic mul-with-overflow constant folding support (details)
  31. [clangd] Fix a race (details)
  32. [dexter] Force dexter tests to use the host triple (details)
  33. [docs][JITLink] More experiments to try to understand sphinx error. (details)
  34. [docs][JITLink] Yet more experiments to try to understand sphinx error. (details)
  35. [docs][JITLink] Remove the JITLink doc for now. (details)
  36. [Utils] collectBitParts - add truncate() handling (details)
  37. [asan] Avoid putting globals in a comdat section when targetting elf. (details)
  38. [ValueTracking] ComputeKnownBits - minimum leading/trailing zero bits in LSHR/SHL (PR44526) (details)
  39. [lldb] Add asserts that prevent construction of cycles in the decl origin tracking (details)
  40. [OpenCL] Allow taking address of functions as an extension. (details)
  41. [lldb][NFC] Rename the second ValueObjectManager to ValueObjectUpdater and remove the dead code (details)
  42. [lldb][NFC] Move trivial ValueObject getters/setters to the header (details)
  43. [AMDGPU] Update s_sendmsg messages (details)
  44. [mlir] Specify cuda-runner pass pipeline as command line options. (details)
  45. [AMDGPU] Add more PAL metadata register names (details)
  46. [lldb] Prevent double new lines behind errors/warning/messages from LLDB commands (details)
  47. [mlir] Add a builder to `linalg.tiled_loop`. (details)
  48. [ValueTracking] computeKnownBitsFromShiftOperator - remove non-zero shift amount handling. (details)
  49. Revert "[ValueTracking] computeKnownBitsFromShiftOperator - remove non-zero shift amount handling." (details)
  50. [InstructionCost] NFC: Fix up missing cases in LoopVectorize and CodeGenPrep. (details)
  51. [lld-macho] Add REQUIRES to incompatible-arch-tapi test (details)
  52. [Coverage][Unittest] Fix stringref issue (details)
  53. [clang-tidy][test] Allow specifying potentially unused suffixes (details)
  54. [libc][NFC] Remove headergen for the cacheline size macro. (details)
Commit 3f30cd73795d17f071cc03926fea28943c65f05f by shivam98.tkg
patch
The file was addedllvm/test/Examples/BrainF/HelloWorld.test
The file was addedllvm/test/Examples/BrainF/HelloWorld.ll
Commit 9a9d56eb3e69219f6bafc02c396fb6584b54114f by shivam98.tkg
[Docs] Mention clone depth feature of git in LLVM getting started

The current size of the llvm-project repository exceeds 1 GB. A shallow clone can save a lot of space and time. Some developers might not aware of this feature.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D97118
The file was modifiedllvm/docs/GettingStarted.rst
Commit 8d4ac5337f196967fa7266a7f65d6b827911416a by sivachandra
[libc][NFC] Merge llvmlibc and llvmlibm targets in to a single target.

The single target is called llvmlibc. We can add back smaller libm and
other targets in future if required.
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
The file was modifiedlibc/lib/CMakeLists.txt
The file was modifiedlibc/CMakeLists.txt
The file was modifiedlibc/test/src/CMakeLists.txt
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
Commit 0f279c7a5c34eaae797c325c18614def21eba921 by shivam98.tkg
Revert "patch" it wass my mistake inusing git

This reverts commit 3f30cd73795d17f071cc03926fea28943c65f05f.
The file was removedllvm/test/Examples/BrainF/HelloWorld.test
The file was removedllvm/test/Examples/BrainF/HelloWorld.ll
Commit 053dc95839b3b8a36db46f8c419e36e632e989cd by Dávid Bolvanský
Reduce the number of attributes attached to each function

Patch takes advantage of the implicit default behavior to reduce the number of attributes, which in turns reduces compilation time.

Reviewed By: serge-sans-paille

Differential Revision: https://reviews.llvm.org/D97116
The file was modifiedclang/test/CodeGen/aarch64-poly64.c
The file was modifiedclang/test/CodeGenCXX/dllexport.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-ldst-one.c
The file was modifiedclang/test/CodeGenCXX/dllexport-ctor-closure.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c
The file was modifiedclang/test/CodeGen/aarch64-poly128.c
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
Commit 8560c2d4268c32fb57a99993ffeb99b3745e0999 by Vitaly Buka
[ThinLTO, NewPM] Run OptimizerLastEPCallbacks from buildThinLTOPreLinkDefaultPipeline

-O1 and above do dont call real optimizer pipeline in ThinLTO PreLink.
Also clang can't add PostLink OptimizerLastEPCallbacks for in-process ThinLTO.
This results in missing sanitizer passes with ThinLTO.

Simple working solution is just call OptimizerLastEPCallbacks
at the end of buildThinLTOPreLinkDefaultPipeline.

Differential Revision: https://reviews.llvm.org/D96320
The file was modifiedclang/test/Driver/asan.c
The file was modifiedclang/test/Driver/dfsan.c
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedclang/test/Driver/tsan.c
The file was modifiedclang/test/Driver/sancov.c
The file was modifiedclang/test/Driver/msan.c
Commit bc897bad66170e7db845373695b0a09c554bbd4b by Vitaly Buka
[asan] Increase CHECK limit in __sanitizer_annotate_contiguous_container

Asan allocator already support up to (1 << 40) bytes allocations.
The file was modifiedcompiler-rt/lib/asan/asan_poisoning.cpp
Commit 2ddd25fd0d6faf3d2faaab68bcd29d4f0ab36dfb by code
[Test][AArch64] Test SADDO/SSUBO narrowing legalization

Reviewed By: aemerson

Differential Revision: https://reviews.llvm.org/D96675
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-ssubo.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-saddo.mir
Commit cb6fc4b0a35402a946e17b101ecd5cd0edd8c602 by craig.topper
[LegalizeIntegerTypes] Use GetExpandedInteger instead of SplitInteger in ExpandIntRes_XMULO.

We know the input is going to be expanded as well, so we should
just ask for the already expanded operands. Otherwise we create
nodes that are just going to need to be legalized.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Commit 91e31ebbbe0c5781d1c0d5b3470c2cb8932faf0b by douglas.yung
Add REQUIRES aarch64 to test incompatible-arch.s since it fails if that target is not built.

This should fix the PS4 linux buildbot failure: http://lab.llvm.org:8011/#/builders/139/builds/63
The file was modifiedlld/test/MachO/invalid/incompatible-arch.s
Commit 77bd454da34e9cfba6cb007bdf25fc422b947641 by marek.kurdej
[libc++] [docs] [C++2b] Update status page with papers adopted in February 2021 virtual meeting.
The file was modifiedlibcxx/docs/Cxx2bStatusPaperStatus.csv
Commit 11a53f47fb3448c747e18519f3799c919ec65aa1 by phosek
Revert "[InstrProfiling] Use nobits as __llvm_prf_cnts section type in ELF"

This reverts commit 6b286d93f7ec8518c685a302269e44b06a0a24f3 because
in some cases when the optimizer evaluates the global initializer,
__llvm_prf_cnts may not be entirely zero initialized.
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was removedllvm/test/Instrumentation/InstrProfiling/X86/nobits.ll
Commit 03892a27d6b89df92def3239338cafbbfa541dbd by david.green
[ARM] Expand the range of allowed post-incs in load/store optimizer

Currently the load/store optimizer will only fold in increments of the
same size as the load/store. This patch expands that to any legal
immediate for the post-inc instruction.

This is a recommit of 3b34b06fc5908b with correctness fixes and extra
tests.

Differential Revision: https://reviews.llvm.org/D95885
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was modifiedllvm/test/CodeGen/ARM/store-prepostinc.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-float32regloops.ll
The file was modifiedllvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/store-prepostinc.mir
Commit 075539ddf6525f5dac31d9b5506cd58c44108633 by martin
[LLD] [COFF] Allow invoking lib.exe mode via -lib in addition to /lib

Remove a stray -lib argument in guardcf-lto.ll; llvm-lib doesn't
support generating import libs from a def file unlike lib.exe.
Previously this worked because the -lib argument was ignored
(printing only a warning).

Differential Revision: https://reviews.llvm.org/D96699
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/test/COFF/driver.test
The file was modifiedlld/test/COFF/guardcf-lto.ll
Commit 90232b2ecd72422fbaad5ea53679f27f59249d95 by martin
[libcxx] [test] Don't pass INCLUDE to clang via -isystem

Passing the MSVC include dirs via -isystem makes them included before
clang's own include resource dir (<prefix>/lib/clang/<version>/include).
This causes includes of stddef.h to bypass clang's stddef.h which
defines max_align_t, which libc++ needs defined.

This was added in 4372f06d0fcaba1a6913e2f37be064e06a7b5b5b when the
initial windows testing support was added, and has been brought along
since. It's unclear if this was needed back then - now it no longer is
needed at least, and since libc++ started depending on max_align_t, this
became an issue.

Differential Revision: https://reviews.llvm.org/D97167
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit 85eb12eefdf6a95afc49bc66df41738d19702977 by sven.vanhaastregt
[OpenCL] Add declarations with enum/typedef args

Add the remaining missing builtin function declarations that have enum
or typedef argument or return types.

Differential Revision: https://reviews.llvm.org/D96860
The file was modifiedclang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit 0344aea6ea379d945d1de1f5c258414dc61ccacd by sven.vanhaastregt
[OpenCL] Add ndrange builtin functions to TableGen

Also ensure all kernel enqueue functions have CL 2.0 as minimum
version.

Differential Revision: https://reviews.llvm.org/D97060
The file was modifiedclang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit 5c74c6be3c291c27b78918aefe4017ea59b4ede8 by flo
[AArch64] Use CMTST for != 0 vector compares (vnot (CMEQz A)).

(CMTST A, A) will only set elements to 0 if the element is 0 in A. Use
it for != 0 compares, which currently use (vnot (CMEQz A)). This saves a
mvn instruction.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D97303
The file was modifiedllvm/test/CodeGen/AArch64/neon-compare-instructions.ll
The file was modifiedllvm/test/CodeGen/AArch64/vec_umulo.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
Commit d637235ceed7517287c8b4a724ef58a4681b8ed3 by Lang Hames
[JITLink] Fix comments about JITLink's generic link algorithm.

These comments had gotten out of date with the code.
The file was modifiedllvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.h
Commit 8380d07e398e5f7d6edd877d293a2e28db058d8c by Lang Hames
[JITLink] Add assertions, fix a comment.

The new assertions check that Addressables removed when removing
external or absolute symbols are not referenced by another symbol.

A comment on post-fixup passes is updated: vmaddrs have all been
set up by the time the pre-fixup passes are run, post-fixup passes
run after fixups have been applied to content.
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
Commit ab4648504b259d30cfa0bf12af35246c19017028 by Lang Hames
[docs][JITLink] Add a JITLink design and API document.
The file was addedllvm/docs/JITLink.rst
The file was modifiedllvm/docs/UserGuides.rst
The file was modifiedllvm/docs/Reference.rst
Commit a5e15c770646b05150ca9ca5456ac0a00cf1be5d by Lang Hames
[docs][JITLink] Sphinx does not like '::' in monotype. Try using a
cpp domain expr instead.
The file was modifiedllvm/docs/JITLink.rst
Commit 691c3d59484f6d7f03c68db3b9c5b00c30fe8420 by douglas.yung
Update REQUIRES line in 4 tests that attempt to use arm64 which should be aarch64 not arm.
The file was modifiedlld/test/MachO/arm64-reloc-pointer-to-got.s
The file was modifiedlld/test/MachO/arm64-reloc-tlv-load.s
The file was modifiedlld/test/MachO/header.s
The file was modifiedlld/test/MachO/arm64-reloc-got-load.s
Commit 945b76d42838498740e2aed77a4a8f0168fbe00b by pifon
[mlir][linalg] Fix Linalg roundtrip test.

The test did not check whether the operations can be parsed again after
printing them once.

Differential Revision: https://reviews.llvm.org/D97368
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
Commit 6240f436dd24f6734344c732d41e487662141174 by flo
Recommit "[LV] Allow tryToCreateWidenRecipe to return a VPValue, use for blends."

This reverts the revert commit 437f0bbcd509d0ed71b91ec1f86f48c2f4aae980.

It adds a new toVPRecipeResult, which forces VPRecipeOrVPValueTy to be
constructed with a VPRecipeBase *. This should address ambiguous
constructor issues for recipe sub-types that also inherit from VPValue.
The file was modifiedllvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/single-value-blend-phis.ll
Commit d91cfcebbde502c01922b10f1ce39e4196e95223 by Lang Hames
[docs][JITLink] More attempted fixes for formatting issues in the JITLink doc.

Try using the literal domain for `ObjectLinkingLayer::Plugin` and literal
blocks for multi-line method names.
The file was modifiedllvm/docs/JITLink.rst
Commit 731a2bcaf7469e8411cc07b48d36c8f4040d4455 by Lang Hames
[docs][JITLink] Try explicit literal blocks for monospace list elements.
The file was modifiedllvm/docs/JITLink.rst
Commit e2db0d2fa69a7cadf0d47feb71702d19c9548d17 by Lang Hames
[docs][JITLink] Return to `` for inline literals.

Also awkwardly reformat text to test whether the error is occurring
on the line with the '::', or the previous one.
The file was modifiedllvm/docs/JITLink.rst
Commit a4f9c0f562f9356dada313fb189992318c13ca50 by Lang Hames
[docs][JITLink] Make ``ObjectLinkingLayer`` not a paragraph start.

More experiments as I try to placate sphinx.
The file was modifiedllvm/docs/JITLink.rst
Commit 8082bfe7e58d89f6f065fab101db3481516afdbe by llvm-dev
[DAG] Add basic mul-with-overflow constant folding support

As noticed on D97160
The file was modifiedllvm/test/CodeGen/X86/xmulo.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit c94ecf3f81ca42a98b3b279a7b210b67715f1c41 by kadircet
[clangd] Fix a race

Differential Revision: https://reviews.llvm.org/D97366
The file was modifiedclang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp
Commit 52bc1c1bd5397ef6ff37214a0186a47aa3348b72 by orlando.hyams
[dexter] Force dexter tests to use the host triple

If the default target and host triple don't match then print the following
message when the lit test runs:

    Forcing dexter tests to use host triple {HOST_TRIPLE}.

If we can't target the host arch then, when lit runs, we mark
the dexter test directories as UNSUPPORTED and print the message:

    Host triple {HOST_TRIPLE} not supported. Skipping dexter tests in
    the debuginfo-tests project.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D96494
The file was addeddebuginfo-tests/dexter-tests/lit.local.cfg
The file was modifieddebuginfo-tests/dexter/feature_tests/lit.local.cfg
The file was modifieddebuginfo-tests/lit.site.cfg.py.in
The file was modifieddebuginfo-tests/lit.cfg.py
Commit 3fbe630e03c2da2d2ffaac9ea476d249412883cc by Lang Hames
[docs][JITLink] More experiments to try to understand sphinx error.
The file was modifiedllvm/docs/JITLink.rst
Commit 038a09120b4e71faaa5f99457c951a1c7ddeceda by Lang Hames
[docs][JITLink] Yet more experiments to try to understand sphinx error.
The file was modifiedllvm/docs/JITLink.rst
Commit 912bc4980e969da1a849c16f1f5ab0c73414d8f2 by Lang Hames
[docs][JITLink] Remove the JITLink doc for now.

I'll reinstate and continue investigation tomorrow.
The file was modifiedllvm/docs/UserGuides.rst
The file was removedllvm/docs/JITLink.rst
Commit b94c215592bdba915455895b2041398dfb2ac44a by llvm-dev
[Utils] collectBitParts - add truncate() handling
The file was modifiedllvm/test/Transforms/InstCombine/bswap.ll
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
Commit 27830bc2b1b876b1948bcd8ae7ee62819be69758 by pierre.gousseau
[asan] Avoid putting globals in a comdat section when targetting elf.

Putting globals in a comdat for dead-stripping changes the semantic and
can potentially cause false negative odr violations at link time.
If odr indicators are used, we keep the comdat sections, as link time
odr violations will be dectected for the odr indicator symbols.

This fixes PR 47925
The file was modifiedllvm/test/Instrumentation/AddressSanitizer/instrument-section-invalid-c-ident.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was addedllvm/test/Instrumentation/AddressSanitizer/global_with_comdat.ll
The file was modifiedllvm/test/Instrumentation/AddressSanitizer/global_metadata.ll
Commit d65ddca83ff85c7345fe9a0f5a15750f01e38420 by llvm-dev
[ValueTracking] ComputeKnownBits - minimum leading/trailing zero bits in LSHR/SHL (PR44526)

Followup to D72573 - as detailed in https://blog.regehr.org/archives/1709 we don't make use of the known leading/trailing zeros for shifted values in cases where we don't know the shift amount value.

Stop ValueTracking returning zero for poison shift patterns and use the KnownBits shift helpers directly.

Extend KnownBits::shl to combine all possible shifted combinations if both min/max shift amount values are in range.

Differential Revision: https://reviews.llvm.org/D90479
The file was modifiedllvm/lib/Support/KnownBits.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/icmp-constant.ll
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit 2105912ee0b831d5141146b7700c1934c4185bd6 by Raphael Isemann
[lldb] Add asserts that prevent construction of cycles in the decl origin tracking

LLDB tracks where any imported `clang::Decl` originally came from via a simple
map from 'imported decl' to 'original decl'. That information is used to later
complete parts of the Decl when more information is requested about a certain
Decl (e.g., via the ExternalASTSource interface from Clang).

When finding the 'original decl' for a given decl, the ASTImporterDelegate
essentially just recursively follows the previously mentioned map from
'imported' to 'original decl' until it can find any further 'original decl'. The
final found decl is then the one that will be imported. The recursion is
necessary as in LLDB we don't just import decls from one ASTContext to another,
but also from one ASTContext to another via a (potentially temporary)
ASTContext. For example, the expression parser creates a temporary ASTContext
for parsing the current expression.

The problem with the recursion is however that if we somehow get a cycle into
our mapping, then the ASTImporterDelegate will just infinite recurse. As the
infinite recursion usually happens after the cycle was already created in a code
path such as completing a type, the crash backtraces we get for these bugs are
not very useful. However having the backtrace where the faulty map entry is
created usually makes the code trivial to fix (as there should be some rogue
CopyType call or something similar nearby. See for example D96366).

This patch tries to make these issues easier to track down by putting a bunch of
sanity asserts in the code that fills out the map. All the asserts are just
checking that there is no direct cycle (ASTContext maps to itself) when updating
the origin tracking map.

The assert in the ASTImportDelegate constructor is an `lldbassert` (which also
is getting checked in release builds with disabled asserts) as the code path
there is pretty cold and we can reliably detect a rogue CopyType call from
there.

I also had to update some code in
`ClangASTImporter::ASTImporterDelegate::Imported`. This code already had a
safety check for creating a cycle in the origin tracking map, but it still
constructed an ASTImporter while checking for the cycle (by requesting a
delegate via `GetDelegate` and passing two identical ASTContexts which looks
like a rogue CopyType call to the checks).

Reviewed By: shafik

Differential Revision: https://reviews.llvm.org/D97300
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.cpp
Commit abbdb5639c70d167bd66cd62296927330782c3b4 by anastasia.stulova
[OpenCL] Allow taking address of functions as an extension.

When '__cl_clang_function_pointers' extension is enabled
the parser should allow obtaining the function address.

This fixes PR49264!

Differential Revision: https://reviews.llvm.org/D97203
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/test/SemaOpenCL/func.cl
Commit 4631afdeb3c48f63688d3b097643d61de8e48e2b by Raphael Isemann
[lldb][NFC] Rename the second ValueObjectManager to ValueObjectUpdater and remove the dead code

`ValueObject.h` contains the `ValueObject::ValueObjectManager` type which is
just a typedef for the ClusterManager that takes care of the whole ValueObject
memory management. However, there is also `ValueObjectManager` defined in the
same header which is only used in the curses UI implementation and consists
mostly of dead and completely untested code.

This code been around since a while (it was added in 2016 as
8369b28da0750129ababae357bea98940800a0e0), so I think we shouldn't just revert
the whole patch.

Instead this patch just moves the class to its own header that it isn't just
hiding in the ValueObject header and renames it to `ValueObjectUpdater` that it
at least has a unique name (which I hope also slightly better reflects the
purpose of this class). I also deleted all the dead code branches and functions.

Reviewed By: #lldb, mib, JDevlieghere

Differential Revision: https://reviews.llvm.org/D97287
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was addedlldb/include/lldb/Core/ValueObjectUpdater.h
The file was addedlldb/source/Core/ValueObjectUpdater.cpp
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp
The file was modifiedlldb/include/lldb/Core/ValueObject.h
The file was modifiedlldb/source/Core/CMakeLists.txt
Commit 0512b01ebede34fe5f6244d5ec8dde552fa4b375 by Raphael Isemann
[lldb][NFC] Move trivial ValueObject getters/setters to the header

NFC refactoring that moves the definitions of all the trivial getters/setters to the header file
which is what we usually do in LLVM.

Reviewed By: #lldb, JDevlieghere

Differential Revision: https://reviews.llvm.org/D97298
The file was modifiedlldb/include/lldb/Core/ValueObject.h
The file was modifiedlldb/source/Core/ValueObject.cpp
Commit 67f0620831b41ada45ad0d0364adc4d0db4b1247 by jay.foad
[AMDGPU] Update s_sendmsg messages

Update the list of s_sendmsg messages known to the assembler and
disassembler and validate the ones that were added or removed in gfx9
and gfx10.

Differential Revision: https://reviews.llvm.org/D97295
The file was modifiedllvm/test/MC/AMDGPU/sopp-gfx9.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/sopp_vi.txt
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.h
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
The file was modifiedllvm/test/MC/AMDGPU/sopp-err.s
The file was modifiedllvm/test/MC/AMDGPU/sopp.s
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp
The file was modifiedllvm/test/MC/AMDGPU/sopp-gfx10.s
The file was modifiedllvm/lib/Target/AMDGPU/SIDefines.h
Commit eb8d6af5e406f1dafb2f742bc9994ffbc8a6ea76 by csigg
[mlir] Specify cuda-runner pass pipeline as command line options.

The cuda-runner registers two pass pipelines for nested passes,
so that we don't have to use verbose textual pass pipeline specification.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D97091
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-or.mlir
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertKernelFuncToBlob.cpp
The file was modifiedmlir/test/mlir-cuda-runner/multiple-all-reduce.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-max.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-and.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-xor.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-op.mlir
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-min.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-region.mlir
The file was modifiedmlir/test/mlir-cuda-runner/async.mlir
The file was modifiedmlir/test/mlir-cuda-runner/gpu-to-cubin.mlir
The file was modifiedmlir/test/mlir-cuda-runner/shuffle.mlir
The file was modifiedmlir/test/mlir-cuda-runner/two-modules.mlir
Commit aab709f090f5f3bcd282bd71fbddce706da8dd06 by jay.foad
[AMDGPU] Add more PAL metadata register names

Add all the registers that are currently used by
LLPC: https://github.com/GPUOpen-Drivers/llpc

This only affects disassembly of PAL metadata generated by LLPC and
similar frontends.

Differential Revision: https://reviews.llvm.org/D95619
The file was modifiedllvm/test/MC/AMDGPU/pal-registers.s
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
Commit 6201017d541fb024dfcbe135576d38a97f88b1a3 by Raphael Isemann
[lldb] Prevent double new lines behind errors/warning/messages from LLDB commands

The current API for printing errors/warnings/messages from LLDB commands
sometimes adds newlines behind the messages for the caller. However, this
happens unconditionally so when the caller already specified a trailing newline
in the error message (or is trying to print a generated error message that ends
in a newline), LLDB ends up printing both the automatically added newline and
the one that was in the error message string. This leads to all the randomly
appearing new lines in error such as:

```
(lldb) command a
error: 'command alias' requires at least two arguments
(lldb) apropos a b
error: 'apropos' must be called with exactly one argument.

(lldb) why is there an empty line behind the second error?
```

This code adds a check that only appends the new line if the passed message
doesn't already contain a trailing new line.

Also removes the AppendRawWarning which had only one caller and doesn't serve
any purpose now.

Reviewed By: #lldb, mib

Differential Revision: https://reviews.llvm.org/D96947
The file was modifiedlldb/test/Shell/Commands/command-disassemble.s
The file was modifiedlldb/include/lldb/Interpreter/CommandReturnObject.h
The file was modifiedlldb/source/Interpreter/CommandReturnObject.cpp
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
Commit 7377ef9357191a2c540ba0c20375a9f92233e0f6 by pifon
[mlir] Add a builder to `linalg.tiled_loop`.

https://llvm.discourse.group/t/rfc-add-linalg-tileop/2833

Differential Revision: https://reviews.llvm.org/D97372
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
Commit d37400168ce2f1f9ccc91847431f5b8c020a7d67 by llvm-dev
[ValueTracking] computeKnownBitsFromShiftOperator - remove non-zero shift amount handling.

This no longer affects any tests after the improvements to the KnownBits shift helpers.
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit 3d837ad7041f88c9bf308d9de0b941e2e7eb4a6c by thakis
Revert "[ValueTracking] computeKnownBitsFromShiftOperator - remove non-zero shift amount handling."

This reverts commit d37400168ce2f1f9ccc91847431f5b8c020a7d67.
Breaks Analysis/./AnalysisTests/ComputeKnownBitsTest.KnownNonZeroShift
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit 5e19208d96dda06327b7e17ae17a86049475f111 by sander.desmalen
[InstructionCost] NFC: Fix up missing cases in LoopVectorize and CodeGenPrep.

This fixes the types of a few more cost variables to be of type InstructionCost.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
Commit 9ced8b3b614ceba7dcd4a8fc3d2fc0be7d09f650 by jezng
[lld-macho] Add REQUIRES to incompatible-arch-tapi test
The file was modifiedlld/test/MachO/invalid/incompatible-arch-tapi.s
Commit ff6dc053b7ba8ffb7d02c9c4560fe80b66b117b8 by Jinsong Ji
[Coverage][Unittest] Fix stringref issue

We will pass StringRef and change it in reader.
But we reuse the same Filename vector without clear it,
so in some systems, we may clobbeer previous results.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D97353
The file was modifiedllvm/unittests/ProfileData/CoverageMappingTest.cpp
Commit b90fdb7c117fab83a8a2d1c95ed468c47e480f89 by n.james93
[clang-tidy][test] Allow specifying potentially unused suffixes

If a check-suffix is only required for a CHECK-FIXES or CHECK-MESSAGES. check_clang_tidy will pass the prefixes CHECK-FIXES<...> and CHECK-MESSAGES<...> to FileCheck.
This will result in a FileCheck failing because of an unused prefix.

This addresses the problem by not passing unused prefixes. Its also possible to fix this be passing `--allow-unused-prefixes` flag to FileCheck, but seeing as we have already done the legwork in the script to see its unused, this fix seems the better way to go.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D97322
The file was modifiedclang-tools-extra/test/clang-tidy/check_clang_tidy.py
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-loop-convert-reverse.cpp
Commit 5f0800cc187a006e0424b9fd66985b39525d4478 by sivachandra
[libc][NFC] Remove headergen for the cacheline size macro.

We want to be able to build and test the string functions in contexts
like that of Fuchsia where LLVM pieces like tablegen are not available.
Since header generation uses tablegen, we are removing the dependency on
headergen here.

Reviewed By: gchatelet

Differential Revision: https://reviews.llvm.org/D97363
The file was removedlibc/src/string/memory_utils/cacheline_size_aarch64.h.inc
The file was removedlibc/src/string/memory_utils/cacheline_size_arm.h.inc
The file was modifiedlibc/src/string/memory_utils/CMakeLists.txt
The file was removedlibc/src/string/memory_utils/cacheline_size_x86.h.inc
The file was modifiedlibc/src/string/memory_utils/utils.h
The file was removedlibc/src/string/memory_utils/cacheline_size_ppc64.h.inc
The file was removedlibc/src/string/memory_utils/cacheline_size_x86_64.h.inc
The file was removedlibc/src/string/memory_utils/cacheline_size.h.def