Changes

Summary

  1. [Tests] Auto update a vectorizer test to simplify future diff (details)
  2. [test] Improve CodeGenCXX/difile_entry.cpp (details)
  3. Precommit tests requested for D93725 (details)
  4. [Tests] Precommit tests from to simplify rebase (details)
  5. [lldb] Fix some bugs in the Pipe class and add tests (details)
  6. [NFCI][SimplifyCFG] Prefer to add Insert edges before Delete edges into DomTreeUpdater, if reasonable (details)
  7. [LLVM] Added OpenMP to `LLVM_ALL_RUNTIMES` (details)
  8. [OpenMP] Not set OPENMP_STANDALONE_BUILD=ON when building OpenMP along with LLVM (details)
Commit 377dcfd5c15d8e2c9e71a171635529052a96e244 by listmail
[Tests] Auto update a vectorizer test to simplify future diff
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
Commit abfe348e6b4c50c750d70adcf0b99fd3d8d4132e by i
[test] Improve CodeGenCXX/difile_entry.cpp

The test added in D87147 did not actually test PR47391.
Use an absolute path to test the canonicalization.
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/test/CodeGenCXX/difile_entry.cpp
Commit 86d6f7e90a1deab93e357b8f356e29d4a24fa3ac by listmail
Precommit tests requested for D93725
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/loop-form.ll
Commit fc8ab254472972816956c69d16e8b35bc91cc2ab by listmail
[Tests] Precommit tests from to simplify rebase
The file was addedllvm/test/Transforms/LoopDeletion/zero-btc.ll
Commit 13dea030b3d794d05a08dd0080c35844c9ca1b30 by pavel
[lldb] Fix some bugs in the Pipe class and add tests

- s/createUniqueFile/createUniquePath -- we don't want to create the file,
  just the file name
- s/data()/str().c_str()/ -- paths given to system apis must be
  null-terminated
The file was modifiedlldb/source/Host/posix/PipePosix.cpp
The file was modifiedlldb/unittests/Host/CMakeLists.txt
The file was addedlldb/unittests/Host/PipeTest.cpp
Commit 8e8d214c4a6c417e42996faeb9211a5c2e32111f by lebedev.ri
[NFCI][SimplifyCFG] Prefer to add Insert edges before Delete edges into DomTreeUpdater, if reasonable

This has a measurable impact on the number of DomTree recalculations.
While this doesn't handle all the cases,
it deals with the most obvious ones.
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
Commit 894d2dbf502026a2b063340f8214b8ffd7cf7e21 by tianshilei1992
[LLVM] Added OpenMP to `LLVM_ALL_RUNTIMES`

This patch added `openmp` to `LLVM_ALL_RUNTIMES` so that when the CMake argument `LLVM_ENABLE_RUNTIMES=all`, OpenMP can also be built.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D94369
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit 7be3285248bf54d0784a76174cf44cf7c1e780a5 by tianshilei1992
[OpenMP] Not set OPENMP_STANDALONE_BUILD=ON when building OpenMP along with LLVM

For now, `*_STANDALONE_BUILD` is set to ON even if they're built along
with LLVM because of issues mentioned in the comments. This can cause some issues.
For example, if we build OpenMP along with LLVM, we'd like to copy those OpenMP
headers to `<prefix>/lib/clang/<version>/include` such that `clang` can find
those headers without using `-I <prefix>/include` because those headers will be
copied to `<prefix>/include` if it is built standalone.

In this patch, we fixed the dependence issue in OpenMP such that it can be built
correctly even with `OPENMP_STANDALONE_BUILD=OFF`. The issue is in the call to
`add_lit_testsuite`, where `clang` and `clang-resource-headers` are passed as
`DEPENDS`. Since we're building OpenMP along with LLVM, `clang` is set by CMake
to be the C/C++ compiler, therefore these two dependences are no longer needed,
where caused the dependence issue.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D93738
The file was modifiedllvm/runtimes/CMakeLists.txt
The file was modifiedopenmp/cmake/OpenMPTesting.cmake