SuccessChanges

Summary

  1. [SLP] add test for vectorization of constant expressions; NFC (details)
  2. Fix various test failures with GCC (details)
  3. Update XFAIL list for new GCC versions (details)
  4. Fix error in ProcessLauncherWindows.cpp (details)
  5. AArch64: fix EXPENSIVE_CHECKS for arm64_32. (details)
  6. Fix pretty printer test with GCC (details)
  7. [Reproducer] Include the this pointer in the API log. (details)
  8. Mark [[nodiscard]] test as unsupported with GCC 5 (details)
  9. [aarch64] move custom isel of extract_vector_elt to td file - NFC (details)
  10. [FPEnv] Document that constrained FP intrinsics cannot be mixed with (details)
  11. [Docs] Bug fix for reference to nonexistent document (details)
  12. [Support] Add overload writeFileAtomically(std::function Writer) (details)
  13. [OPENMP5.0]Add basic support for declare variant directive. (details)
  14. [AArch64][GlobalISel] Tail call memory intrinsics (details)
  15. Fix C++03 build failures due to >> (details)
  16. [llvm-opt-report] Improve error handling (details)
  17. Fix test to use %t for newly created files. (details)
  18. Add dependency from Orc to Passes (details)
  19. [test] Print the log output on failure. (details)
  20. [NFC][libLTO] Rearrange declaration in lto.h (details)
Commit 4ba6717c7e566f3d99122e6b98ae69d560fbb105 by spatel
[SLP] add test for vectorization of constant expressions; NFC
Goes with D67362.
llvm-svn: 371879
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/consecutive-access.ll
Commit ffe8916cf2f6125caa866e636126c81cddf277eb by eric
Fix various test failures with GCC
llvm-svn: 371880
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp
Commit 75c9eb5ab23554cc1bbb377d06e3197ccc10b589 by eric
Update XFAIL list for new GCC versions
llvm-svn: 371881
The file was modifiedlibcxxabi/test/catch_member_function_pointer_02.pass.cpp
Commit 646a893f1583ecd8af57773bf4cb717a663d92d2 by amccarth
Fix error in ProcessLauncherWindows.cpp
Restored missing parens on a function call.
llvm-svn: 371882
The file was modifiedlldb/source/Host/windows/ProcessLauncherWindows.cpp
Commit 52a89cc07d80858a329c54077b593429b64bf988 by Tim Northover
AArch64: fix EXPENSIVE_CHECKS for arm64_32.
For some reason I'd decided to mark the end-result of a GOT load as
dead. It's clearly not (necessarily).
llvm-svn: 371883
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
Commit 556027085583470dc0db1c821ecdf1b5c1804154 by eric
Fix pretty printer test with GCC
llvm-svn: 371884
The file was modifiedlibcxx/test/pretty_printers/gdb_pretty_printer_test.sh.cpp
Commit 449ca01bac853efbf7d4434784af8457f2e0678f by Jonas Devlieghere
[Reproducer] Include the this pointer in the API log.
The new centralized way of doing API logging through the reproducer
macros is lacking a way to easily correlate instances of API objects.
Logging the this pointer makes that significantly easier. For methods
this is now always passed as the first argument, similar to the self
argument in Python.
This patch also adds a test case for API logging, which uncovered that
we were not quoting strings.
Differential revision: https://reviews.llvm.org/D67538
llvm-svn: 371885
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
The file was addedlldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py
Commit e210c0383bef30dd3d3be18ac4148299303421bd by eric
Mark [[nodiscard]] test as unsupported with GCC 5
llvm-svn: 371886
The file was modifiedlibcxx/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp
Commit d93e136be14c49e612bbf7e4e0a388409a93295c by sebpop
[aarch64] move custom isel of extract_vector_elt to td file - NFC
In preparation for def-pat selection of dot product instructions, this
patch moves the custom instruction selection of extract_vector_elt to
the td file. Without this change it is impossible to catch a pattern
that starts with an extract_vector_elt: the custom cpp code is executed
first ahead of the patterns in the td files that are only executed at
the end of the switch statement in SelectCode(Node).
With this patch applied, it becomes possible to select a different
pattern that starts with extract_vector_elt by selecting a higher
complexity than this pattern.
The patch has been tested on aarch64-linux with make check-all.
Differential Revision: https://reviews.llvm.org/D67497
llvm-svn: 371887
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
Commit ed73d4aba87db88afb3e41a8edccf7b768c3a589 by kevin.neal
[FPEnv] Document that constrained FP intrinsics cannot be mixed with
non-constrained
Reviewed by: andrew.w.kaylor, cameron.mcinally, uweigand Approved
by: andrew.w.kaylor Differential Revision:
https://reviews.llvm.org/D67360
llvm-svn: 371888
The file was modifiedllvm/docs/LangRef.rst
Commit c6ffefd2d1a95b7312741fbd3a9972e5f918173b by d4m1887
[Docs] Bug fix for reference to nonexistent document
This commit fixes a bug in which the toctree contained a reference to a
non-existent document.
llvm-svn: 371889
The file was modifiedllvm/docs/index.rst
Commit f69c91780fbb0e9c0e95f70a079f578efdca0bfa by Jan Korous
[Support] Add overload writeFileAtomically(std::function Writer)
Differential Revision: https://reviews.llvm.org/D67424
llvm-svn: 371890
The file was modifiedclang/lib/Serialization/GlobalModuleIndex.cpp
The file was modifiedlldb/tools/lldb-server/lldb-platform.cpp
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedllvm/include/llvm/Support/FileUtilities.h
The file was modifiedclang-tools-extra/clangd/index/BackgroundIndexStorage.cpp
The file was modifiedllvm/lib/Support/FileUtilities.cpp
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
Commit d158cf64d64b6b1882fd8f09e5d8619cb8529a5f by a.bataev
[OPENMP5.0]Add basic support for declare variant directive.
Added basic support for declare variant directive and its match clause
with user context selector.
llvm-svn: 371892
The file was addedclang/test/OpenMP/declare_variant_messages.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was addedclang/test/OpenMP/declare_variant_messages.c
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit 727328ab63b20ac275626d793e870a6d0a33cda2 by Jessica Paquette
[AArch64][GlobalISel] Tail call memory intrinsics
Because memory intrinsics are handled differently than other calls, we
need to check them for tail call eligiblity in the legalizer. This
allows us to still inline them when it's beneficial to do so, but also
tail call when possible.
This adds simple tail calling support for when the intrinsic is followed
by a return.
It ports the attribute checks from
`TargetLowering::isInTailCallPosition` into a similarly-named function
in LegalizerHelper.cpp. The target-specific
`isUsedByReturnOnly` hook is not ported here.
Update tailcall-mem-intrinsics.ll to show that GlobalISel can now tail
call memory intrinsics.
Update legalize-memcpy-et-al.mir to have a case where we don't tail
call.
Differential Revision: https://reviews.llvm.org/D67566
llvm-svn: 371893
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/tailcall-mem-intrinsics.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-memcpy-et-al.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
Commit cb9216b908de7f7088b9135b6c7453cb0efb9be7 by eric
Fix C++03 build failures due to >>
llvm-svn: 371894
The file was modifiedlibcxx/include/type_traits
Commit 2f9b2eb4b7262c4ea0e6878dd0361e114270fc11 by francisvm
[llvm-opt-report] Improve error handling
* std::move the error extracted from the parsing creation to avoid
asserts
* print a newline after the error message
* create the parser from the metadata
llvm-svn: 371895
The file was modifiedllvm/tools/llvm-opt-report/OptReport.cpp
Commit fc637d03b18c54ca9cc16ccb06f33e3c8b8715d6 by timshen91
Fix test to use %t for newly created files.
This is both for consistency with other `mkdir`s in tests, and fixing
permission issues with the non-temporary cwd during testing (they are
not always writable).
llvm-svn: 371897
The file was modifiedclang/test/Driver/metadata-with-dots.c
Commit fe4dc2e7132492a970ac60d725dea686ffe5f779 by sanjoy
Add dependency from Orc to Passes
Summary: Orc uses registerFunctionAnalyses that's defined in Passes.
Reviewers: dblaikie
Subscribers: mcrosier, bixia, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67477
llvm-svn: 371898
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLVMBuild.txt
Commit a3e27633a839cf1c45b640f88e00530c59f10e8d by Jonas Devlieghere
[test] Print the log output on failure.
This ensures that if the assertion fails we dump the log content. This
should help me investigate what the output looks like on Windows, where
the test is failing.
llvm-svn: 371899
The file was modifiedlldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py
Commit aa89c5ffc30f5a45f3766b8e787a4deb38741e94 by Steven Wu
[NFC][libLTO] Rearrange declaration in lto.h
Summary: Rearrange the function declaration in lto.h so they falls in
the correct doxygen group.
Reviewers: tejohnson, bd1976llvm, deadalnix
Reviewed By: tejohnson
Subscribers: mehdi_amini, inglorion, jkorous, dexonsmith, ributzka,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67565
llvm-svn: 371900
The file was modifiedllvm/include/llvm-c/lto.h

Summary

  1. [LNT] Python 3 support: Minor automatic 2to3 fixups Summary: Automatic fixups done using `2to3`: - `2to3 -f numliterals` - `2to3 -f dict` - `2to3 -f map` - `2to3 -f exec` The `exec` call is additionally updated to have a string argument as noted by @thopre. The changes cover the files found to be affected when running tests (without result submission). Reviewers: cmatthews, thopre, kristof.beyls Reviewed By: cmatthews Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D67534
  2. [LNT] Python 3 support: print statements Summary: This patch applies `2to3 -f print` fixes, corrects the indentation mangled by `2to3` for multiline print statements, and adds `from __future__ import print_function` to each file that was modified. As requested on review, spaces are then added after commas separating arguments to `print`, separating function call arguments or tuple elements within arguments to `print`, etc. The changes cover the files found to be affected when running tests (without result submission). Reviewers: cmatthews, thopre, kristof.beyls Reviewed By: cmatthews Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D67532
Revision 371896 by hubert.reinterpretcast:
[LNT] Python 3 support: Minor automatic 2to3 fixups

Summary:
Automatic fixups done using `2to3`:

  - `2to3 -f numliterals`
  - `2to3 -f dict`
  - `2to3 -f map`
  - `2to3 -f exec`

The `exec` call is additionally updated to have a string argument as
noted by @thopre.

The changes cover the files found to be affected when running tests
(without result submission).

Reviewers: cmatthews, thopre, kristof.beyls

Reviewed By: cmatthews

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D67534
Change TypePath in RepositoryPath in Workspace
The file was modified/lnt/trunk/lnt/formats/__init__.pylnt/formats/__init__.py
The file was modified/lnt/trunk/lnt/lnttool/create.pylnt/lnttool/create.py
The file was modified/lnt/trunk/lnt/server/instance.pylnt/server/instance.py
The file was modified/lnt/trunk/lnt/testing/__init__.pylnt/testing/__init__.py
Revision 371891 by hubert.reinterpretcast:
[LNT] Python 3 support: print statements

Summary:
This patch applies `2to3 -f print` fixes, corrects the indentation
mangled by `2to3` for multiline print statements, and adds
`from __future__ import print_function` to each file that was modified.
As requested on review, spaces are then added after commas separating
arguments to `print`, separating function call arguments or tuple
elements within arguments to `print`, etc.

The changes cover the files found to be affected when running tests
(without result submission).

Reviewers: cmatthews, thopre, kristof.beyls

Reviewed By: cmatthews

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D67532
Change TypePath in RepositoryPath in Workspace
The file was modified/lnt/trunk/lnt/external/stats/pstat.pylnt/external/stats/pstat.py
The file was modified/lnt/trunk/lnt/external/stats/stats.pylnt/external/stats/stats.py
The file was modified/lnt/trunk/lnt/lnttool/create.pylnt/lnttool/create.py
The file was modified/lnt/trunk/lnt/lnttool/main.pylnt/lnttool/main.py
The file was modified/lnt/trunk/lnt/server/ui/app.pylnt/server/ui/app.py
The file was modified/lnt/trunk/lnt/tests/builtintest.pylnt/tests/builtintest.py
The file was modified/lnt/trunk/lnt/tests/compile.pylnt/tests/compile.py
The file was modified/lnt/trunk/lnt/tests/nt.pylnt/tests/nt.py
The file was modified/lnt/trunk/lnt/tests/test_suite.pylnt/tests/test_suite.py
The file was modified/lnt/trunk/lnt/util/ImportData.pylnt/util/ImportData.py
The file was modified/lnt/trunk/lnt/util/ServerUtil.pylnt/util/ServerUtil.py
The file was modified/lnt/trunk/lnt/util/wsgi_restart.pylnt/util/wsgi_restart.py