SuccessChanges

Summary

  1. Fix binaries directory for flang slaves gcc10 and clang10 (details)
Commit 3be3cca19be87164182f5bf8df4ce36c492673f9 by caroline.concatto
Fix binaries directory for flang slaves gcc10 and clang10

Differential Revision: https://reviews.llvm.org/D85816
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [SyntaxTree] Split `TreeTestBase` into header and source (details)
  2. [gn build] Port 2e4a20fd706 (details)
  3. [CGAtomic] Mark atomic libcall functions `nounwind` (details)
  4. Fix BufferPlacement Pass to derive from the TableGen generated parent class (NFC) (details)
  5. Remove spurious empty line at the beginning of source file (NFC) (details)
  6. [NFC][StackSafety] Dedup callees (details)
  7. [clangd] Warn developers when trying to link system-installed gRPC statically (details)
  8. [OpenMP] Fix releasing of stack memory (details)
  9. [clangd] Fix find_program() result check when searching for gRPC (details)
  10. [clangd] Clarify comments regarding gRPC linking (details)
Commit 2e4a20fd7062f65c06b438953de3d340df00b7a7 by ecaldas
[SyntaxTree] Split `TreeTestBase` into header and source

* Switch to using directive on source files.
* Remove unused `SyntaxTreeTest::addFile`

Differential Revision: https://reviews.llvm.org/D85913
The file was addedclang/unittests/Tooling/Syntax/TreeTestBase.cpp
The file was modifiedclang/unittests/Tooling/Syntax/MutationsTest.cpp
The file was modifiedclang/unittests/Tooling/Syntax/CMakeLists.txt
The file was modifiedclang/unittests/Tooling/Syntax/TreeTestBase.h
The file was modifiedclang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Commit d795f968d92ddc517d2f56725bc12fd096ac5537 by llvmgnsyncbot
[gn build] Port 2e4a20fd706
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/BUILD.gn
Commit 909a851dbffeb3637c19268e12e10fdf3dae2add by guiand
[CGAtomic] Mark atomic libcall functions `nounwind`

These functions won't ever unwind. This is useful for MemorySanitizer
as it simplifies handling __atomic_load in particular.

Differential Revision: https://reviews.llvm.org/D85573
The file was modifiedclang/test/CodeGen/atomic_ops.c
The file was modifiedclang/lib/CodeGen/CGAtomic.cpp
Commit 5035d192faf3389bad0acf69ae69ed6b5cfe930c by joker.eph
Fix BufferPlacement Pass to derive from the TableGen generated parent class (NFC)
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/lib/Transforms/BufferPlacement.cpp
Commit 1e484b8a2467b90dae99f952bbeeec8972a71edd by joker.eph
Remove spurious empty line at the beginning of source file (NFC)
The file was modifiedmlir/lib/Transforms/BufferPlacement.cpp
Commit 798eb71c3a5a43f592b006e1b41620c54cacb721 by Vitaly Buka
[NFC][StackSafety] Dedup callees
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/ipa.ll
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
The file was modifiedllvm/test/Bitcode/thinlto-function-summary-paramaccess.ll
Commit 1786908f8cefe4c5f114543d73a8de23c130e94e by kbobyrev
[clangd] Warn developers when trying to link system-installed gRPC statically

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D85815
The file was modifiedllvm/cmake/modules/FindGRPC.cmake
Commit 66a3575c2895f3b06056908bb40699f16e4b92d7 by protze
[OpenMP] Fix releasing of stack memory

Starting with 787eb0c637b I got spurious segmentation faults for some testcases. I could nail it down to `brel` trying to release the "memory" of the node allocated on the stack of __kmpc_omp_wait_deps. With this patch, you will see the assertion triggering for some of the tests in the test suite.

My proposed solution for the issue is to just patch __kmpc_omp_wait_deps:
```
  __kmp_init_node(&node);
-  node.dn.on_stack = 1;
+  // the stack owns the node
+  __kmp_node_ref(&node);
```

What do you think?

Reviewed By: AndreyChurbanov

Differential Revision: https://reviews.llvm.org/D84472
The file was modifiedopenmp/runtime/src/kmp_taskdeps.cpp
Commit 399e4593431cf146c52fc286670f88d6217db631 by platonov.aleksandr
[clangd] Fix find_program() result check when searching for gRPC

`find_program(<VAR> ...)` sets <VAR> to <VAR>-NOTFOUND if nothing was found.
So we need to compare <VAR> with "<VAR>-NOTFOUND" or just use `if([NOT] <VAR>)`, because `if(<VAR>)` is false if `<VAR>` ends in the suffix -NOTFOUND.

Reviewed By: kbobyrev

Differential Revision: https://reviews.llvm.org/D85958
The file was modifiedllvm/cmake/modules/FindGRPC.cmake
Commit 9698deb2570231aee95e183a23c67e49da176c0b by kbobyrev
[clangd] Clarify comments regarding gRPC linking
The file was modifiedllvm/cmake/modules/FindGRPC.cmake