SuccessChanges

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

Summary

  1. Added missing commas for mlir-nvidia buildbot. (details)
Commit 3be8cdf34c8e862bb7fe712e93e84d1a3870c8dd by gkistanova
Added missing commas for mlir-nvidia buildbot.
This fixed the broken CMake arguments.

Patch by Christian Kühnel <kuhnel@google.com>

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

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

Summary

  1. [Polly] Fix build after IRBuilder changes (details)
  2. Reapply "[IRBuilder] Virtualize IRBuilder" (details)
  3. [FPEnv][ARM] Don't call mutateStrictFPToFP when lowering (details)
  4. [lldb/Plugin] Fix plugin definition for ProcessWindows (details)
  5. [Coroutines][1/6] New pass manager: coro-early (details)
  6. GlobalISel: Extend narrowing to G_ASHR (details)
  7. [CMake] CheckAtomic.cmake: catch false positives in RISC-V (details)
  8. AMDGPU/GlobalISel: Custom lower 32-bit G_UDIV/G_UREM (details)
  9. [lldb/Plugin] Remove PLUGIN from Process POSIX & Linux (details)
  10. Fix modules build after https://reviews.llvm.org/D73835 (IRBuilder virtualization change) (details)
  11. GlobalISel: Allow running localizer earlier (details)
  12. Revert "Add LazyCallGraph API to add function to RefSCC" (details)
  13. [X86] Move '0-x == y --> x+y == 0' and similar combines to EmitCmp. (details)
  14. [X86] Change how the alignment for the stack object is created in LowerFLT_ROUNDS_. (details)
  15. AMDGPU/GlobalISel: Allow arbitrary global values (details)
  16. [gn build] (manually) merge e9849d519 (details)
  17. AMDGPU/GlobalISel: Custom lower 32-bit G_SDIV/G_SREM (details)
  18. AMDGPU/GlobalISel: Fix RegBankSelect for G_SHUFFLE_VECTOR (details)
  19. Revert "[lldb/CMake] Auto-generate the Initialize and Terminate calls for plugin" (details)
  20. [X86] Add missing isel pattern for BLCFILL producing flags. (details)
  21. [lldb/Plugin] Update ProcessWindows plugin for revert (details)
  22. [mlir] Fix multiple titles (details)
  23. [Polly] Run polly-update-format after commit 55cfb1. NFC. (details)
  24. Re-land "Add LazyCallGraph API to add function to RefSCC" (details)
  25. [LiveDebugValues] Visit open var locs just once in transferRegisterDef, NFC (details)
  26. [dsymutil] Explicitly link against libatomic when necessary (details)
  27. Re-land "[lldb/CMake] Auto-generate the Initialize and Terminate calls for plugin" (details)
  28. CGBuiltin: Remove uses of deprecated CreateCall overloads (details)
  29. Coroutines: avoid use of deprecated CreateLoad and CreateCall methods (details)
  30. LowerMatrixIntrinsics: Avoid use of deprecated CreateCall methods (details)
  31. [TBLGEN] Inhibit generation of unneeded psets (details)
  32. [HotColdSplit] Mark entire function cold when entry block is cold (details)
  33. [lldb/Plugin] Fix some issues on Windows (details)
  34. [lldb/Plugin] Unconditionally build Darwin-Kernel (details)
  35. [X86] Add one use check to '0-x == y --> x+y == 0' in EmitCmp. (details)
  36. [XCore][NFC] Remove trailing space (details)
  37. [NFC] Remove trailing space (details)
  38. Revert "[lldb/CMake] Auto-generate the Initialize and Terminate calls for plugin" (details)
  39. [lldb/Plugins] Rename lldbPluginDisassemblerLLVM (NFC) (details)
  40. [lldb/Plugins] Remove PLUGIN from libraries that aren't really plugins. (details)
  41. [X86] Use isScalarFPTypeInSSEReg to simplify code in LowerSELECT. NFC (details)
  42. [lldb/Plugins] Initialize all ABI plugins by their plugin name (details)
  43. [lldb/Plugins] Rename initializers to match their plugin name. (details)
  44. [Coroutines][2/6] New pass manager: coro-split (details)
  45. [Coroutines][3/6] New pass manager: coro-elide (details)
  46. Revert new pass manager coro-split and coro-elide (details)
  47. Revert "[lldb/lldb-server] Add target.xml support for qXfer request." (details)
  48. [lldb/Plugins] Conditionally build OperatingSystemPython. (details)
  49. [lldb/Plugins] Add missing initialize/terminate calls (details)
  50. Revert new files from new pass manager coro-split/coro-elide (details)
Commit 55cfb1fb501d0f72518062b6655d4a788258c9f7 by nikita.ppv
[Polly] Fix build after IRBuilder changes

Simply dropping the createPollyIRBuilder() function here, because
it doesn't do much. Also directly initialize Expander in
ScopExpander instead of going through the copy-constructor.
The file was modifiedpolly/include/polly/CodeGen/IRBuilder.h
The file was modifiedpolly/lib/CodeGen/PPCGCodeGeneration.cpp
The file was modifiedpolly/lib/CodeGen/CodeGeneration.cpp
The file was modifiedpolly/lib/Support/ScopHelper.cpp
Commit 3eaa53e80543813a2274391956e91d275950fbf8 by nikita.ppv
Reapply "[IRBuilder] Virtualize IRBuilder"

Relative to the original commit, this fixes some warnings,
and is based on the deletion of the IRBuilder copy constructor
in D74693. The automatic copy constructor would no longer be
safe.

-----

Related llvm-dev thread:
http://lists.llvm.org/pipermail/llvm-dev/2020-February/138951.html

This patch moves the IRBuilder from templating over the constant
folder and inserter towards making both of these virtual.
There are a couple of motivations for this:

1. It's not possible to share code between use-sites that use
different IRBuilder folders/inserters (short of templating the code
and moving it into headers).
2. Methods currently defined on IRBuilderBase (which is not templated)
do not use the custom inserter, resulting in subtle bugs (e.g.
incorrect InstCombine worklist management). It would be possible to
move those into the templated IRBuilder, but...
3. The vast majority of the IRBuilder implementation has to live
in the header, because it depends on the template arguments.
4. We have many unnecessary dependencies on IRBuilder.h,
because it is not easy to forward-declare. (Significant parts of
the backend depend on it via TargetLowering.h, for example.)

This patch addresses the issue by making the following changes:

* IRBuilderDefaultInserter::InsertHelper becomes virtual.
  IRBuilderBase accepts a reference to it.
* IRBuilderFolder is introduced as a virtual base class. It is
implemented by ConstantFolder (default), NoFolder and TargetFolder.
  IRBuilderBase has a reference to this as well.
* All the logic is moved from IRBuilder to IRBuilderBase. This means
  that methods can in the future replace their IRBuilder<> & uses
  (or other specific IRBuilder types) with IRBuilderBase & and thus
  be usable with different IRBuilders.
* The IRBuilder class is now a thin wrapper around IRBuilderBase.
  Essentially it only stores the folder and inserter and takes care
  of constructing the base builder.

What this patch doesn't do, but should be simple followups after this change:

* Fixing use of the inserter for creation methods originally defined
  on IRBuilderBase.
* Replacing IRBuilder<> uses in arguments with IRBuilderBase, where useful.
* Moving code from the IRBuilder header to the source file.

From the user perspective, these changes should be mostly transparent:
The only thing that consumers using a custom inserted may need to do is
inherit from IRBuilderDefaultInserter publicly and mark their InsertHelper
as public.

Differential Revision: https://reviews.llvm.org/D73835
The file was modifiedllvm/include/llvm/Analysis/TargetFolder.h
The file was modifiedclang/lib/CodeGen/CGBuilder.h
The file was modifiedllvm/include/llvm/IR/ConstantFolder.h
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was addedllvm/include/llvm/IR/IRBuilderFolder.h
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
The file was modifiedpolly/include/polly/CodeGen/IRBuilder.h
The file was modifiedllvm/include/llvm/IR/NoFolder.h
Commit 594a89f7270da74c89f2321432bc6a7135773fa5 by john.brawn
[FPEnv][ARM] Don't call mutateStrictFPToFP when lowering

mutateStrictFPToFP can delete the node and replace it with another with the same
value which can later cause problems, and returning the result of
mutateStrictFPToFP doesn't work because SelectionDAGLegalize expects that the
returned value has the same number of results as the original. Instead handle
things by doing the mutation manually.

Differential Revision: https://reviews.llvm.org/D74726
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/ARM/fp-intrinsics.ll
Commit 3431dc32a4162c0c3e0e0cd3e9e550c5f3c57047 by Jonas Devlieghere
[lldb/Plugin] Fix plugin definition for ProcessWindows

This should fix the unresolved external symbol error.
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
Commit e9849d5195e9951a8210ebf63d19c014800c3368 by modocache
[Coroutines][1/6] New pass manager: coro-early

Summary:
The first in a series of patches that ports the LLVM coroutines passes
to the new pass manager infrastructure. This patch implements
'coro-early'.

NB: All coroutines passes begin by checking that coroutine intrinsics are
declared within the LLVM IR module they're operating on. To do so, they call
`coro::declaresIntrinsics`. The next 3 patches in this series, which add new
pass manager implementations of the 'coro-split', 'coro-elide', and
'coro-cleanup' passes, use a similar pattern as the one used here: a static
function is shared across both old and new passes to detect if relevant
coroutine intrinsics are delcared. To make this pattern easier to read, this
patch adds `const` keywords to the parameters of `coro::declaresIntrinsics`.

Reviewers: GorNishanov, lewissbaker, junparser, chandlerc, deadalnix, wenlei

Reviewed By: wenlei

Subscribers: ychen, wenlei, EricWF, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71898
The file was addedllvm/include/llvm/Transforms/Coroutines/CoroEarly.h
The file was modifiedllvm/lib/Passes/LLVMBuild.txt
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Transforms/Coroutines/coro-early.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroEarly.cpp
Commit 0e2eb357e0471bbac81f18097e5ad761ae1431f0 by Matthew.Arsenault
GlobalISel: Extend narrowing to G_ASHR
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-ashr-narrow.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit cef85193b2cc1817ca43199a0ae9c6f25723997d by luismarques
[CMake] CheckAtomic.cmake: catch false positives in RISC-V

The check for 'HAVE_CXX_ATOMICS_WITHOUT_LIB' may create false
positives in RISC-V. This is reproducible when compiling LLVM natively
using GCC on a rv64gc (rv64imafdgc) host. Due to the 'A' (atomic)
extension, g++ replaces calls to libatomic operations on the
std::atomic<int> type with the native hardware instructions. As a
result, the compilation succeeds and the build system thinks it
doesn't need to pass '-latomic'.

Improve the reliability of the 'HAVE_CXX_ATOMICS_WITHOUT_LIB' test in
two steps:

1. Force a pre-increment on x (++x), which should force a call to a
libatomic function;

2. Because step 1 would resolve the increment to 'amoadd.w.aq' under
the 'A' extension, force the same operation on sub-word types, for
which there is no hardware support.

Reviewers: jfb, hintonda, smeenai, mgorny, JDevlieghere, jyknight
Reviewed By: jfb
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68964
The file was modifiedllvm/cmake/modules/CheckAtomic.cmake
Commit 96db12d507fbac8b67278775d3234fa9b8178d22 by Matthew.Arsenault
AMDGPU/GlobalISel: Custom lower 32-bit G_UDIV/G_UREM

AMDGPUCodeGenPrepare expands this most of the time, but not always. We
will always at least need a fallback option here. This is the 3rd
implementation of the same expansion in the backend. Eventually I
would like to eliminate the IR expansion (and the DAG version
obviously).

Currently the new legalizer path produces a better result, since the
IR expansion results in extra operations which need to be combined
out. Notably, the IR expansion results in multiplies by 0.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/urem.i32.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i32.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-srem.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-urem.mir
Commit deaa6916d3424ff9c9dfd81379dc9f4906d915f4 by Jonas Devlieghere
[lldb/Plugin] Remove PLUGIN from Process POSIX & Linux

ProcessPOSIX and ProcessLinux are not real plugins and should not be
marked as such. This should fix the Linux bots.
The file was modifiedlldb/source/Plugins/Process/Linux/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/POSIX/CMakeLists.txt
Commit 7424705157ba051d8e2f21815f5e051c4d786b94 by Vedant Kumar
Fix modules build after https://reviews.llvm.org/D73835 (IRBuilder virtualization change)

I readily admit that I don't know why this fixes the modules build, but
it seems to get things building again. Previously I saw the error
message:

http://lab.llvm.org:8080/green/view/LLDB/job/lldb-cmake/9404/consoleFull#-361314398a1ca8a51-895e-46c6-af87-ce24fa4cd561

```
/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/llvm/include/llvm/IR/IRBuilderFolder.h:18:10: fatal error: cyclic dependency in module 'LLVM_intrinsic_gen': LLVM_intrinsic_gen -> LLVM_IR -> LLVM_intrinsic_gen

         ^
While building module 'LLVM_intrinsic_gen' imported from /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/llvm/lib/IR/IRBuilder.cpp:14:
In file included from <module-includes>:1:
/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/llvm/include/llvm/IR/Argument.h:19:10: fatal error: could not build module 'LLVM_IR'
~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/llvm/lib/IR/IRBuilder.cpp:14:10: fatal error: could not build module 'LLVM_intrinsic_gen'
```

And reproduced with:

cmake -G Ninja /Users/vsk/src/llvm-backup-master/llvm -DCLANG_ENABLE_ARCMT=Off -DCLANG_ENABLE_STATIC_ANALYZER=Off -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;lld;libcxx;libcxxabi;compiler-rt;libunwind;lldb' -DLLDB_USE_SYSTEM_DEBUGSERVER=On -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_ENABLE_ASSERTIONS=On -DLLVM_ENABLE_MODULES=On
The file was modifiedllvm/include/llvm/module.modulemap
Commit 54137bbaaf185553ad82107e011b80c0381912b9 by Matthew.Arsenault
GlobalISel: Allow running localizer earlier

This required legal and regbankselected MIR for seemingly no
reason. For AMDGPU this wouldn't see legalized G_GLOBAL_VALUEs.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/Localizer.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
Commit 28213680b2a7d1fdeea16aa3f3a368879472c72a by modocache
Revert "Add LazyCallGraph API to add function to RefSCC"

This reverts commit https://reviews.llvm.org/rG449a13509190b1c57e5fcf5cd7e8f0f647f564b4,
due to buildbot failures such as
http://lab.llvm.org:8011/builders/clang-cmake-x86_64-avx2-linux/builds/13251.
The file was modifiedllvm/include/llvm/Analysis/LazyCallGraph.h
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp
The file was modifiedllvm/unittests/Analysis/CGSCCPassManagerTest.cpp
The file was modifiedllvm/unittests/Analysis/LazyCallGraphTest.cpp
Commit b62de210cf50ccb6822260e4075dd93333adb23e by craig.topper
[X86] Move '0-x == y --> x+y == 0' and similar combines to EmitCmp.

AArch64 handles this pattern in their lowering code. By emitting
CMN. ARM handles it as an isel pattern.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 43e948c4b77f1da88511bac38cfcf4752bc19d37 by craig.topper
[X86] Change how the alignment for the stack object is created in LowerFLT_ROUNDS_.

We don't need FrameInfo's concept of the stack alignment. We just
need to tell it the desired alignment. Which in this case is 2.
The file was modifiedllvm/test/CodeGen/X86/flt-rounds.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e240b27d6da8a0bd594f46efa6fd2a2e7df91ee3 by Matthew.Arsenault
AMDGPU/GlobalISel: Allow arbitrary global values

Treat unknown address spaces as global
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/global-value.illegal.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/global-value.ll
Commit f4158dceb5da12ac6d2cba4e94bc254f872d8c4c by thakis
[gn build] (manually) merge e9849d519
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Passes/BUILD.gn
Commit f742a28ae3e3895280717b16216363e866517cbf by arsenm2
AMDGPU/GlobalISel: Custom lower 32-bit G_SDIV/G_SREM
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i32.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-srem.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/srem.i32.ll
Commit 5e8792453d6c9f129283ad788639713e2b4c8ad8 by arsenm2
AMDGPU/GlobalISel: Fix RegBankSelect for G_SHUFFLE_VECTOR
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-shuffle-vector.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit 058cb1b47fd7fa18e75834d069ead286f6ca55a8 by Jonas Devlieghere
Revert "[lldb/CMake] Auto-generate the Initialize and Terminate calls for plugin"

This temporarily reverts commit 7d6da329dee1eda1761430d9097d1323f32c4c0c
because it's causing test failures on the bots.
The file was modifiedlldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
The file was modifiedlldb/unittests/Disassembler/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
The file was modifiedlldb/source/Plugins/CMakeLists.txt
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
The file was modifiedlldb/tools/lldb-test/CMakeLists.txt
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CMakeLists.txt
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Plugins/OperatingSystem/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
The file was modifiedlldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Platform/POSIX/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/Utility/CMakeLists.txt
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Disassembler/LLVMC/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
The file was modifiedlldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp
The file was modifiedlldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
The file was removedlldb/source/Plugins/Plugins.def.in
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
The file was modifiedlldb/unittests/UnwindAssembly/ARM64/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp
The file was modifiedlldb/source/Plugins/Language/ClangCommon/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
The file was modifiedlldb/unittests/UnwindAssembly/PPC64/CMakeLists.txt
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
The file was modifiedlldb/include/lldb/Core/PluginManager.h
The file was modifiedlldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
Commit 68400a23083769244a6af07ec42ec61877a4bb12 by craig.topper
[X86] Add missing isel pattern for BLCFILL producing flags.
The file was modifiedllvm/test/CodeGen/X86/tbm_patterns.ll
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
Commit 46c4f63ec491948876ca3edb5343418a6719e0b2 by Jonas Devlieghere
[lldb/Plugin] Update ProcessWindows plugin for revert
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
Commit 1842fd50d2ff66209cee11268ddf4bee28c482f7 by jpienaar
[mlir] Fix multiple titles

We have one title in every doc which corresponds to `#`, in the some
there are multiple and it is expected to be h1 headers (visual elements
rather than organizational). Indent every nesting by one in all of the
docs with multiple titles.

Also fixing trailing whitespace.
The file was modifiedmlir/docs/Tutorials/Toy/Ch-6.md
The file was modifiedmlir/docs/Dialects/Vector.md
The file was modifiedmlir/docs/Tutorials/Toy/Ch-3.md
The file was modifiedmlir/docs/Dialects/Linalg.md
The file was modifiedmlir/docs/RationaleLinalgDialect.md
Commit 612c4bf09e014a110c722835d6158ea48ab94cce by llvm-project
[Polly] Run polly-update-format after commit 55cfb1. NFC.
The file was modifiedpolly/lib/Support/ScopHelper.cpp
Commit 0deef2e164e1db5e262fb14906c97b01b74a24dd by modocache
Re-land "Add LazyCallGraph API to add function to RefSCC"

This re-commits https://reviews.llvm.org/D70927, which I reverted in
https://reviews.llvm.org/rG28213680b2a7d1fdeea16aa3f3a368879472c72a due
to a buildbot error:
http://lab.llvm.org:8011/builders/clang-cmake-x86_64-avx2-linux/builds/13251

I no longer include a test case that appears to crash when built with the
buildbot's compiler, GCC 5.4.0.
The file was modifiedllvm/include/llvm/Analysis/LazyCallGraph.h
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp
The file was modifiedllvm/unittests/Analysis/LazyCallGraphTest.cpp
Commit 3f148eabe0977228410090951cdb236d881eebcd by Vedant Kumar
[LiveDebugValues] Visit open var locs just once in transferRegisterDef, NFC

For a file in WebKit, this brings the time spent in LiveDebugValues down
from 16 minutes to 2 minutes. The reduction comes from iterating the set
of open variable locations just once in transferRegisterDef. Post-patch,
the most expensive item inside of transferRegisterDef is a call to
VarLoc::isDescribedByReg, which we have to do.

Testing: I built LNT using the Os-g cmake cache with & without this
patch, then diffed the object files to verify there was no binary diff.

rdar://59446577

Differential Revision: https://reviews.llvm.org/D74633
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
Commit 09856feb3cc141f4f9c8b9edec28602ac4f21575 by luismarques
[dsymutil] Explicitly link against libatomic when necessary

In some systems, such as RISC-V, atomic support requires explicit linking
against '-latomic' (see https://github.com/riscv/riscv-gcc/issues/12).

Reviewers: davezarzycki, hhb, beanz, jfb, JDevlieghere
Reviewed By: beanz, JDevlieghere
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69003
The file was modifiedllvm/tools/dsymutil/CMakeLists.txt
Commit 9b12dc98fd0821f8d1f7f6304a314b6417d6ae3d by Jonas Devlieghere
Re-land "[lldb/CMake] Auto-generate the Initialize and Terminate calls for plugin"

This patch changes the way we initialize and terminate the plugins in
the system initializer. It uses an approach similar to LLVM's
TARGETS_TO_BUILD with a def file that enumerates the plugins.

The previously landed patch got reverted because it was lacking:

(1) A plugin definition for the Objective-C language runtime,
(2) The dependency between the Static and WASM dynamic loader,
(3) Explicit initialization of ScriptInterpreterNone for lldb-test.

All issues have been addressed in this patch.

Differential revision: https://reviews.llvm.org/D73067
The file was modifiedlldb/tools/lldb-test/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Platform/POSIX/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/CMakeLists.txt
The file was modifiedlldb/unittests/UnwindAssembly/ARM64/CMakeLists.txt
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
The file was modifiedlldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
The file was modifiedlldb/unittests/UnwindAssembly/PPC64/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
The file was modifiedlldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
The file was addedlldb/source/Plugins/Plugins.def.in
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
The file was modifiedlldb/source/Plugins/OperatingSystem/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Language/ClangCommon/CMakeLists.txt
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
The file was modifiedlldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CMakeLists.txt
The file was modifiedlldb/source/Plugins/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
The file was modifiedlldb/unittests/Disassembler/CMakeLists.txt
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp
The file was modifiedlldb/include/lldb/Core/PluginManager.h
The file was modifiedlldb/source/Plugins/Disassembler/LLVMC/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
Commit bf197304a66aac3cde967539b40c018cede66761 by nhaehnle
CGBuiltin: Remove uses of deprecated CreateCall overloads

Reviewers: t.p.northover

Subscribers: cfe-commits, llvm-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74673
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit 464d4cf7e6c3b02d266373b4b4d91864d4fbd990 by nhaehnle
Coroutines: avoid use of deprecated CreateLoad and CreateCall methods

Summary: Patch originally by Tim Northover

Reviewers: t.p.northover

Subscribers: EricWF, hiraditya, modocache, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74674
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroEarly.cpp
Commit 58297e4d8f1ff70fedd1391366e58628be7941bc by nhaehnle
LowerMatrixIntrinsics: Avoid use of deprecated CreateCall methods

Reviewers: t.p.northover

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74675
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Commit 8e760e1018d1f394661a1d58fcc8dcd303353cae by Stanislav.Mekhanoshin
[TBLGEN] Inhibit generation of unneeded psets

Differential Revision: https://reviews.llvm.org/D74744
The file was addedllvm/test/TableGen/inhibit-pset.td
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.cpp
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.h
The file was modifiedllvm/include/llvm/Target/Target.td
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.td
Commit c74026daf36a2b8a21ccae8736772269c6467a6f by Vedant Kumar
[HotColdSplit] Mark entire function cold when entry block is cold

rdar://58855712
The file was modifiedllvm/test/Transforms/HotColdSplit/X86/do-not-split.ll
The file was modifiedllvm/lib/Transforms/IPO/HotColdSplitting.cpp
Commit c8001d56df620e5c961c7d459aecf1b90e7f937c by Jonas Devlieghere
[lldb/Plugin] Fix some issues on Windows

- Don't initialize NativePDB.
- Initialize ProcessWindows after any Process*Core plugins.
- Don't initialize DynamicLoaderDarwinKernel on non-Darwin platforms.
The file was modifiedlldb/source/Plugins/Plugins.def.in
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Plugins/CMakeLists.txt
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/CMakeLists.txt
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
Commit fcae62167e80d365e02f02175eb20de469d82755 by Jonas Devlieghere
[lldb/Plugin] Unconditionally build Darwin-Kernel
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
Commit 3f4490d384c8b3c41bd9f8a4a17467769c7a55c0 by craig.topper
[X86] Add one use check to '0-x == y --> x+y == 0' in EmitCmp.

I failed to copy it when I moved this in
b62de210cf50ccb6822260e4075dd93333adb23e
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit fa75bffbbbcf400217583f1afed9ec875b395bed by tclin914
[XCore][NFC] Remove trailing space
The file was modifiedllvm/lib/Target/XCore/XCoreRegisterInfo.td
The file was modifiedllvm/lib/Target/XCore/XCoreInstrInfo.td
Commit 466f8843f526b03c8944a46af5ebb374133b5389 by tclin914
[NFC] Remove trailing space

sed -Ei 's/[[:space:]]+$//' include/**/*.{def,h,td} lib/**/*.{cpp,h,td}
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/Parse/ParseTemplate.cpp
The file was modifiedclang/lib/Serialization/ModuleManager.cpp
The file was modifiedclang/lib/Sema/SemaTemplateVariadic.cpp
The file was modifiedclang/lib/Basic/FileManager.cpp
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedclang/lib/CodeGen/CGObjCRuntime.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedllvm/lib/Analysis/AliasSetTracker.cpp
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp
The file was modifiedllvm/include/llvm-c/Core.h
The file was modifiedllvm/lib/IR/DiagnosticInfo.cpp
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Analysis/Loads.cpp
The file was modifiedllvm/lib/Analysis/ModuleSummaryAnalysis.cpp
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedllvm/lib/Support/Host.cpp
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
The file was modifiedclang/lib/CodeGen/CGObjCGNU.cpp
The file was modifiedllvm/lib/Analysis/GuardUtils.cpp
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedclang/lib/Index/IndexDecl.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/lib/CodeGen/StackMaps.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaObjCProperty.cpp
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedllvm/lib/CodeGen/GCRootLowering.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
Commit 50c9cd9526a7835ad5a702471a997c30d4fc6bcc by Jonas Devlieghere
Revert "[lldb/CMake] Auto-generate the Initialize and Terminate calls for plugin"

This is still failing spectacularly on the Windows bot and I still have
no clue what's going on.
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp
The file was modifiedlldb/source/Plugins/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
The file was modifiedlldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/unittests/Disassembler/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/CMakeLists.txt
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/CMakeLists.txt
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/CMakeLists.txt
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/source/Plugins/OperatingSystem/CMakeLists.txt
The file was removedlldb/source/Plugins/Plugins.def.in
The file was modifiedlldb/include/lldb/Core/PluginManager.h
The file was modifiedlldb/unittests/UnwindAssembly/PPC64/CMakeLists.txt
The file was modifiedlldb/tools/lldb-test/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/CMakeLists.txt
The file was modifiedlldb/unittests/UnwindAssembly/ARM64/CMakeLists.txt
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
The file was modifiedlldb/source/Plugins/Platform/POSIX/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Disassembler/LLVMC/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
The file was modifiedlldb/source/Plugins/Language/ClangCommon/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp
The file was modifiedlldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
Commit 478c9cc4f5e06072d533c6b72aaa173654bee02d by Jonas Devlieghere
[lldb/Plugins] Rename lldbPluginDisassemblerLLVM (NFC)
The file was modifiedlldb/unittests/UnwindAssembly/PPC64/CMakeLists.txt
The file was modifiedlldb/unittests/UnwindAssembly/ARM64/CMakeLists.txt
The file was modifiedlldb/unittests/Disassembler/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Disassembler/LLVMC/CMakeLists.txt
Commit ac1ea0d3da1ef620a392d2e22a38c03bd844383b by Jonas Devlieghere
[lldb/Plugins] Remove PLUGIN from libraries that aren't really plugins.

Although their name and location suggests otherwise, these libraries are
not really plugins but rather support the real plugins.
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/Utility/CMakeLists.txt
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Platform/POSIX/CMakeLists.txt
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Language/ClangCommon/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/CMakeLists.txt
Commit b0840934a7cd56512801f422c57bd3b8a7c97f78 by craig.topper
[X86] Use isScalarFPTypeInSSEReg to simplify code in LowerSELECT. NFC
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit bcde387f46b74ee2954497b682425e4cac80f082 by Jonas Devlieghere
[lldb/Plugins] Initialize all ABI plugins by their plugin name
The file was modifiedlldb/include/lldb/Core/PluginManager.h
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp
Commit ccad1948618d13a86e8a30488ba1ace8b7fd6b73 by Jonas Devlieghere
[lldb/Plugins] Rename initializers to match their plugin name.

Use LLDB_PLUGIN_DEFINE_ADV to make the name of the generated initializer
match the name of the plugin. This is a step towards generating the
initializers with a def file. I'm landing this change in pieces so I can
narrow down what exactly breaks the Windows bot.
The file was modifiedlldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
The file was modifiedlldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp
The file was modifiedlldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp
The file was modifiedlldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
Commit 7125d66f9969605d886b5286780101a45b5bed67 by modocache
[Coroutines][2/6] New pass manager: coro-split

Summary:
This patch has four dependencies:

1. The first in this series of patches that implement coroutine passes in the
   new pass manager: https://reviews.llvm.org/D71898.
2. A patch that introduces an API for CGSCC passes to add new reference
   edges to a `LazyCallGraph`, `updateCGAndAnalysisManagerForCGSCCPass`:
   https://reviews.llvm.org/D72025.
3. A patch that introduces a `CallGraphUpdater` helper class that is
   capable of mutating internal `LazyCallGraph` state in order to insert
   new function nodes into a specific SCC: https://reviews.llvm.org/D70927.
4. And finally, a small edge case fix for updating `LazyCallGraph` that
   patch 3 above happens to run into: https://reviews.llvm.org/D72226.

This is the second in a series of patches that ports the LLVM coroutines
passes to the new pass manager infrastructure. This patch implements
'coro-split'.

Some notes:
* Using the new CGSCC pass manager resulted in IR being printed in the
  reverse order in some tests. To prevent FileCheck checks from failing due
  to these reversed orders, this patch splits up test files that test
  multiple different coroutine functions: specifically
  coro-alloc-with-param.ll, coro-split-eh.ll, and coro-eh-aware-edge-split.ll.
* CoroSplit.cpp contained 2 overloads of `splitCoroutine`, one of which
  dispatched to the other based on the coroutine ABI being used (C++20
  switch-based versus Swift returned-continuation-based). I found this
  confusing, especially with the additional branching based on `CallGraph`
  vs. `LazyCallGraph`, so I removed the ABI-checking overload of
  `splitCoroutine`.

Reviewers: GorNishanov, lewissbaker, chandlerc, jdoerfert, junparser, deadalnix, wenlei

Reviewed By: wenlei

Subscribers: wenlei, qcolombet, EricWF, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71899
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-02.ll
The file was addedllvm/include/llvm/Transforms/Coroutines/CoroSplit.h
The file was modifiedllvm/test/Transforms/Coroutines/coro-spill-after-phi.ll
The file was modifiedllvm/test/Transforms/Coroutines/no-suspend.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-musttail.ll
The file was modifiedllvm/test/Transforms/Coroutines/restart-trigger.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Transforms/Coroutines/coro-debug.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-param-copy.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-00.ll
The file was addedllvm/test/Transforms/Coroutines/coro-eh-aware-edge-split-00.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-padding.ll
The file was addedllvm/test/Transforms/Coroutines/coro-eh-aware-edge-split-01.ll
The file was addedllvm/test/Transforms/Coroutines/coro-split-eh-01.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-materialize.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-catchswitch.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-hidden.ll
The file was addedllvm/test/Transforms/Coroutines/coro-alloc-with-param-O0.ll
The file was addedllvm/test/Transforms/Coroutines/coro-eh-aware-edge-split-02.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-unreachable.ll
The file was addedllvm/test/Transforms/Coroutines/coro-split-eh-00.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-spill-corobegin.ll
The file was addedllvm/test/Transforms/Coroutines/coro-alloc-with-param-O2.ll
The file was removedllvm/test/Transforms/Coroutines/coro-split-eh.ll
The file was removedllvm/test/Transforms/Coroutines/coro-alloc-with-param.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-dbg.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-alloc.ll
The file was removedllvm/test/Transforms/Coroutines/coro-eh-aware-edge-split.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-musttail1.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-arrayalloca.ll
Commit 00fec8004aca6588d8d695a2c3827c3754c380a0 by modocache
[Coroutines][3/6] New pass manager: coro-elide

Summary:
Depends on https://reviews.llvm.org/D71899.

The third in a series of patches that ports the LLVM coroutines passes
to the new pass manager infrastructure. This patch implements 'coro-elide'.

The new pass manager infrastructure does not implicitly repeat CGSCC
pass pipelines when a function is devirtualized, and so the tests
for the new pass manager that rely on that behavior now explicitly
specify `repeat<2>`.

Reviewers: GorNishanov, lewissbaker, chandlerc, jdoerfert, junparser, deadalnix, wenlei

Reviewed By: wenlei

Subscribers: wenlei, EricWF, Prazek, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71900
The file was addedllvm/include/llvm/Transforms/Coroutines/CoroElide.h
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Transforms/Coroutines/coro-elide.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-heap-elide.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroElide.cpp
Commit 11053a1cc61afaabf2df2b8345d8d392c88cd508 by modocache
Revert new pass manager coro-split and coro-elide

This reverts
https://reviews.llvm.org/rG7125d66f9969605d886b5286780101a45b5bed67 and
https://reviews.llvm.org/rG00fec8004aca6588d8d695a2c3827c3754c380a0 due
to buildbot failures:
http://lab.llvm.org:8011/builders/clang-cmake-x86_64-sde-avx512-linux/builds/34004
The file was modifiedllvm/test/Transforms/Coroutines/coro-debug.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-arrayalloca.ll
The file was modifiedllvm/test/Transforms/Coroutines/restart-trigger.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-dbg.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-musttail.ll
The file was addedllvm/test/Transforms/Coroutines/coro-eh-aware-edge-split.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-alloc.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-musttail1.ll
The file was addedllvm/test/Transforms/Coroutines/coro-split-eh.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-materialize.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-hidden.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-elide.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-spill-after-phi.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-00.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-02.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame-unreachable.ll
The file was modifiedllvm/test/Transforms/Coroutines/no-suspend.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-param-copy.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-frame.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-padding.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-spill-corobegin.ll
The file was modifiedllvm/test/Transforms/Coroutines/coro-catchswitch.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroElide.cpp
The file was modifiedllvm/test/Transforms/Coroutines/coro-heap-elide.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
The file was addedllvm/test/Transforms/Coroutines/coro-alloc-with-param.ll
Commit fdc122e4ed6fd04c31595635d45675ad68d258bd by omair.javaid
Revert "[lldb/lldb-server] Add target.xml support for qXfer request."

This patch cause floating point registers to fail on LLDB aarch64-linux
buildbot.

http://lab.llvm.org:8011/builders/lldb-aarch64-ubuntu/builds/1713

This reverts commit aedc196101e33bd58f7443c5b93398418ce55edf.
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
The file was removedlldb/packages/Python/lldbsuite/test/tools/lldb-server/registers-target-xml-reading/TestGdbRemoteTargetXmlPacket.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was removedlldb/packages/Python/lldbsuite/test/tools/lldb-server/registers-target-xml-reading/main.cpp
The file was removedlldb/packages/Python/lldbsuite/test/tools/lldb-server/registers-target-xml-reading/Makefile
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
Commit b0cb98b1f5d53cbce66652fa2894c55db61965a4 by Jonas Devlieghere
[lldb/Plugins] Conditionally build OperatingSystemPython.

Only build the Python Operating System Plugin when LLDB_ENABLE_PYTHON is
set to true.
The file was modifiedlldb/source/Plugins/OperatingSystem/CMakeLists.txt
Commit aa2ae6af81d73773d27d94d120056ef02ce4af6b by Jonas Devlieghere
[lldb/Plugins] Add missing initialize/terminate calls

Add missing initialize and terminate calls for DynamicLoaderHexagonDYLD
and ObjectFileJIT.
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
Commit e999aa38d1691e580d08da274c9e846875d9219d by modocache
Revert new files from new pass manager coro-split/coro-elide

This reverts
https://reviews.llvm.org/rG7125d66f9969605d886b5286780101a45b5bed67 and
https://reviews.llvm.org/rG00fec8004aca6588d8d695a2c3827c3754c380a0 due
to buildbot failures:
http://lab.llvm.org:8011/builders/clang-cmake-x86_64-sde-avx512-linux/builds/34004

Previous revert 11053a1cc61afaabf2df2b8345d8d392c88cd508 missed newly
added files, this commit removes those as well.
The file was removedllvm/test/Transforms/Coroutines/coro-split-eh-00.ll
The file was removedllvm/test/Transforms/Coroutines/coro-split-eh-01.ll
The file was removedllvm/test/Transforms/Coroutines/coro-eh-aware-edge-split-02.ll
The file was removedllvm/test/Transforms/Coroutines/coro-eh-aware-edge-split-01.ll
The file was removedllvm/test/Transforms/Coroutines/coro-alloc-with-param-O0.ll
The file was removedllvm/test/Transforms/Coroutines/coro-alloc-with-param-O2.ll
The file was removedllvm/test/Transforms/Coroutines/coro-eh-aware-edge-split-00.ll
The file was removedllvm/include/llvm/Transforms/Coroutines/CoroSplit.h
The file was removedllvm/include/llvm/Transforms/Coroutines/CoroElide.h