SuccessChanges

Summary

  1. [lit] Factor out separate methods for parallel and serial execution (details)
  2. [lit] Do not create semaphores when we do not need them (details)
  3. [lit] Remove unnecessary usage of lit.Run (details)
  4. [gicombiner] Hoist pure C++ combine into the tablegen definition (details)
  5. [lit] Fix another test case that r374652 missed (details)
  6. [Reproducer] Capture the debugger's working directory (details)
  7. [Reproducer] Add LoadBuffer<> helper (NFC) (details)
  8. [Reproducer] Support dumping the reproducer CWD (details)
  9. Revert "make ConstString allocate memory in non-tiny chunks" (details)
  10. [Concepts] ConceptSpecializationExprs mangling (details)
  11. [Reproducer] Set the working directory in the VFS (details)
  12. [lit] Improve lit.Run class (details)
  13. [GISel][CombinerHelper] Add concat_vectors(build_vector, build_vector) (details)
  14. [gicombiner] Add the run-time rule disable option (details)
  15. [CMake] Make it possible to set the RPATH in add_lldb_exectable. (details)
  16. Revert Tag CFI-generated data structures with "#pragma clang section" (details)
  17. Fix unused variable in r375066 (details)
  18. Correct placement of #ifndef NDEBUG in r375067 (details)
  19. SBCommandReturnObject: change LLDB_RECORD_METHOD(..., FILE *, ...) to (details)
  20. delete SWIG typemaps for FILE* (details)
Commit bb98234931f94b2a1caa03ba22e35db4cbb0860d by jlettner
[lit] Factor out separate methods for parallel and serial execution
llvm-svn: 375054
The file was modifiedllvm/utils/lit/lit/run.py
Commit 640d6de4293a2883513cc84c535bb7de9f882e1c by jlettner
[lit] Do not create semaphores when we do not need them
Parallelism groups and semaphores are only required for parallel
execution.
llvm-svn: 375055
The file was modifiedllvm/utils/lit/lit/run.py
Commit 168ef8a8d695eb374e8997e9d163c96c51f38624 by jlettner
[lit] Remove unnecessary usage of lit.Run
llvm-svn: 375056
The file was modifiedllvm/utils/lit/tests/unit/TestRunner.py
The file was modifiedllvm/utils/lit/lit/discovery.py
Commit ec5208fd65668ec6415eb274294d284835f3d5dd by daniel_l_sanders
[gicombiner] Hoist pure C++ combine into the tablegen definition
Summary: This is just moving the existing C++ code around and will be
NFC w.r.t AArch64. Renamed 'CombineBr' to something more descriptive
('ElideByByInvertingCond') at the same time.
The remaining combines in AArch64PreLegalizeCombiner require features
that aren't implemented at this point and will be hoisted as they are
added.
Depends on D68424
Reviewers: bogner, volkan
Subscribers: kristof.beyls, hiraditya, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68426
llvm-svn: 375057
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/lib/TableGen/Error.cpp
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was modifiedllvm/include/llvm/TableGen/Error.h
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td
Commit d3dd489b9a6f7c578ea461507d29b351e93f6172 by jdenny.ornl
[lit] Fix another test case that r374652 missed
llvm-svn: 375058
The file was modifiedclang-tools-extra/test/clang-include-fixer/merge.test
Commit 27ef81cd484bae8382ed4b68b43a1d5d28d24cb0 by Jonas Devlieghere
[Reproducer] Capture the debugger's working directory
This patch extends the reproducer to capture the debugger's current
working directory. This information will be used later to set the
current working directory of the VFS.
llvm-svn: 375059
The file was addedlldb/test/Shell/Reproducer/TestWorkingDir.test
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/source/Utility/Reproducer.cpp
Commit b2575da9aa3f759206bf762ad2ceb7fc1946f0f6 by Jonas Devlieghere
[Reproducer] Add LoadBuffer<> helper (NFC)
Introduce a helper method named LoadBuffer in the Loader to abstract
reading a reproducer file from disk.
llvm-svn: 375060
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
Commit f4f120125eade60089b45b4679bb3f34bbd96b86 by Jonas Devlieghere
[Reproducer] Support dumping the reproducer CWD
Add support for dumping the current working directory with
`reproducer dump -p cwd`.
llvm-svn: 375061
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was addedlldb/test/Shell/Reproducer/Inputs/WorkingDir.in
The file was modifiedlldb/test/Shell/Reproducer/TestWorkingDir.test
Commit 755420c08538a8b4624175445af3c9dcf241b413 by Raphael Isemann
Revert "make ConstString allocate memory in non-tiny chunks"
As discussed in https://reviews.llvm.org/D68549, the actual issue here
seems to be that the BumpPtrAllocator is growing far too slow because of
the 256 different StringPools used as the backend for ConstString. At
the same time the original patch made ConstString allocate memory in
256MiB slabs for the same reason, meaning that the RSS usage of LLDB
increased by a few hundred MiB for all users without bringing any
noticeable speedup for most of them.
llvm-svn: 375062
The file was modifiedlldb/source/Utility/ConstString.cpp
Commit f567b008804a019e12a050ada8c46ca7a6bf2720 by saar
[Concepts] ConceptSpecializationExprs mangling
Implement mangling for CSEs to match regular template-ids. Reviewed as
part of D41569 <https://reviews.llvm.org/D41569>.
Re-commit fixing failing test.
llvm-svn: 375063
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was addedclang/test/CodeGenCXX/mangle-concept.cpp
Commit f80f15e38a21fb6a85d24853bdf2b8a6f1068571 by Jonas Devlieghere
[Reproducer] Set the working directory in the VFS
Now that the VFS knows how to deal with virtual working directories, we
can set the current working directory to the one we recorded during
reproducer capture. This ensures that relative paths are resolved
correctly during replay.
llvm-svn: 375064
The file was modifiedlldb/test/Shell/Reproducer/TestWorkingDir.test
The file was modifiedlldb/source/Initialization/SystemInitializerCommon.cpp
Commit f35cebe71df7967461df697ef976f2bd1ceaa82b by jlettner
[lit] Improve lit.Run class
* Push timing of overall test time into run module
* Make lit.Run a proper class
* Add a few TODO comments
llvm-svn: 375065
The file was modifiedllvm/utils/lit/lit/main.py
The file was modifiedllvm/utils/lit/lit/run.py
Commit c319afc903d89ba94a8cb526d3ce91515c920991 by quentin.colombet
[GISel][CombinerHelper] Add concat_vectors(build_vector, build_vector)
=> build_vector
Teach the combiner helper how to flatten concat_vectors of build_vectors
into a build_vector.
Add this combine as part of AArch64 pre-legalizer combiner.
Differential Revision: https://reviews.llvm.org/D69071
llvm-svn: 375066
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-concat-vectors.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit 329e748c8c3b0fd3942cb1dafa9e4d0bb0aea8a4 by daniel_l_sanders
[gicombiner] Add the run-time rule disable option
Summary: Each generated helper can be configured to generate an option
that disables rules in that helper. This can be used to bisect rulesets.
The disable bits are stored in a SparseVector as this is very cheap for
the common case where nothing is disabled. It gets more expensive the
more rules are disabled but you're generally doing that for debug
purposes where performance is less of a concern.
Depends on D68426
Reviewers: volkan, bogner
Reviewed By: volkan
Subscribers: hiraditya, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68438
llvm-svn: 375067
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/Combiner.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-copy-prop-disabled.mir
Commit eb1bbcec08d2d22bbcc55be6cb05476b617c96cf by Jonas Devlieghere
[CMake] Make it possible to set the RPATH in add_lldb_exectable.
Make it possible to pass a build and install RPATH to
add_lldb_executable instead of having to call lldb_setup_rpaths after
the fact.
This fixes a real issue where setting an install RPATH with
lldb_setup_rpaths would only affect the symroot installation component.
Given that lldb_setup_rpaths sets a target property I would expect this
to be orthogonal to installation components. Regardless, it makes sense
to integrate this functionality in add_lldb_exectable.
llvm-svn: 375068
The file was modifiedlldb/cmake/modules/AddLLDB.cmake
Commit 15984457a673eff3969c0755be543e7d572edd47 by dmitry.mikulin
Revert Tag CFI-generated data structures with "#pragma clang section"
attributes.
This reverts r375022 (git commit
e2692b3bc0327606748b6d291b9009d2c845ced5)
llvm-svn: 375069
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was removedclang/test/CodeGen/cfi-pragma-section.c
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
Commit 149a02042531980ffdad0314922bd10544484d70 by daniel_l_sanders
Fix unused variable in r375066
llvm-svn: 375070
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit 6150093e22815d49634beceed0472fddc9ef33fb by daniel_l_sanders
Correct placement of #ifndef NDEBUG in r375067
llvm-svn: 375071
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
Commit 56ee31964f5a57621953eacdc8458bd41dfc4154 by maskray
SBCommandReturnObject: change LLDB_RECORD_METHOD(..., FILE *, ...) to
use LLDB_RECORD_DUMMY
POSIX says FILE is a typedef to a structure containing information about
a file. The structure is unspecified, i.e. it may be an incomplete type,
as is the case on musl
(`struct _IO_FILE` is an implementation detail that is not exposed).
`LLDB_RECORD_METHOD(..., (FILE *), ...)` transitively uses sizeof(FILE)
and requires the structure to be complete.  Change it to
LLDB_RECORD_DUMMY to fix the build failure on musl (regression of
D57475).
Reviewed By: JDevlieghere, labath, lawrence_danna
Differential Revision: https://reviews.llvm.org/D68872
llvm-svn: 375072
The file was modifiedlldb/source/API/SBCommandReturnObject.cpp
Commit 0f783599a4c645d8ae826f990f7b938fac6e5dae by lawrence_danna
delete SWIG typemaps for FILE*
Summary: The SWIG typemaps for FILE* are no longer used, so this patch
deletes them.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68963
llvm-svn: 375073
The file was modifiedlldb/scripts/Python/python-typemaps.swig
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/source/Host/common/File.cpp