FailedChanges

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

Summary

  1. [NFC] Fold isHugeExpression into hasHugeExpression and update callers (details)
  2. PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static (details)
  3. [mlir] Add missing dependency on LinalgUtils (details)
  4. Make LLVM_APPEND_VC_REV=OFF affect clang, lld, and lldb as well. (details)
  5. [gn build] replace llvm_allow_tardy_revision with llvm_append_vc_rev (details)
  6. Move static function to inline function - this fixes a conceivable ODR (details)
  7. Add back other PowerPC link components. (details)
  8. [FastISel] Lower `llvm.dbg.value(undef, ...` correctly. (details)
  9. [xray] add --no-demangle cli opt for llvm-xray extract to output mangled (details)
  10. [lldb/Debugger] Rename ExecuteIOHandlers to RunIOHandlers (NFC) (details)
  11. Add testing for DW_OP_piece and fix a bug with small Scalar values. (details)
  12. Fix a buffer-size bug when the first DW_OP_piece is undefined (details)
  13. [modules] Do not cache invalid state for modules that we attempted to (details)
  14. Add back more link components. (details)
  15. Revert "[RISCV] Support ABI checking with per function target-features" (details)
  16. Add extra test file forgotten in 45d7080. (details)
  17. [NFC][PowerPC] Remove unnecessary link components. (details)
  18. [mlir][spirv] Add implied capabilities and availability for capabilities (details)
  19. [mlir][spirv] Use symbolize functions in enum attribute predicates (details)
  20. [mlir][spirv] Fix SPV_MM_Vulkan extension reqirements (details)
  21. Avoid creating an immutable map in the Automaton class. (details)
  22. AMDGPU: Add register classes to MUBUF load patterns (details)
  23. Don't dump IR output from this test to stdout. (details)
  24. [lldb] add to gdb to lldb doc (details)
  25. [lldb/CMake] Set LLVM_HOST_TRIPLE from TARGET_TRIPLE in standalone (details)
  26. [docs][ORC] Update the "utilities" section, tidy intro and fix typo. (details)
  27. [lldb/CMake] Remove duplicate entry (details)
  28. [Transforms][RISCV] Remove a "using namespace llvm" from an include (details)
  29. [docs][ORC] Fix some RST errors in the ORCv2 doc. (details)
  30. [docs][ORC] Try to fix 'title-level inconsistent' error in ORCv2.rst. (details)
  31. [lldb/Test] Fix API tests for mutli-config generators (details)
  32. [lldb/Cmake] Add a CMakeLists.txt to the utils directory... (details)
  33. [lldb] Remove ClangASTContext.h inclusion in Target.cpp (details)
  34. Revert "[clangd][test] Disable a particular testcase in (details)
  35. [lldb] Re-add NSDate formatter (details)
  36. Remove old Suversion release scripts (details)
  37. [lldb][NFC] Delete unused (details)
  38. Reapply Allow system header to provide their own implementation of some (details)
  39. Add __warn_memset_zero_len builtin as a workaround for glibc issue (details)
  40. clang-format: [JS] Handle more keyword-named methods. (details)
  41. Revert "Avoid creating an immutable map in the Automaton class." (details)
  42. [lldb][NFC] Resynchronize Init/Terminate calls in (details)
  43. [LLD][ELF][ARM][AArch64] Only round up ThunkSection Size when large OS. (details)
  44. [AArch64][SVE] Add ImmArg property to intrinsics with immediates (details)
Commit de022a8824f5b528fd428e1397e20c905130eeb1 by echristo
[NFC] Fold isHugeExpression into hasHugeExpression and update callers
accordingly.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 65eb74e94b414fcde6bfa810d1c30c7fcb136b77 by dblaikie
PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static
constexpr rather than anonymous enum
This is (more?) usable by GDB pretty printers and seems nicer to write.
There's one tricky caveat that in C++14 (LLVM's codebase today) the
static constexpr member declaration is not a definition - so odr use of
this constant requires an out of line definition, which won't be
provided (that'd make all these trait classes more annoyidng/expensive
to maintain). But the use of this constant in the library implementation
is/should always be in a non-odr context - only two unit tests needed to
be touched to cope with this/avoid odr using these constants.
Based on/expanded from D72590 by Christian Sigg.
The file was modifiedllvm/include/llvm/ADT/PointerEmbeddedInt.h
The file was modifiedllvm/lib/Analysis/GlobalsModRef.cpp
The file was modifiedclang/include/clang/Basic/SourceLocation.h
The file was modifiedllvm/unittests/ADT/PointerEmbeddedIntTest.cpp
The file was modifiedclang/include/clang/CodeGen/ConstantInitFuture.h
The file was modifiedllvm/include/llvm/ADT/IntervalMap.h
The file was modifiedllvm/unittests/ADT/PointerIntPairTest.cpp
The file was modifiedclang/include/clang/AST/TemplateName.h
The file was modifiedllvm/include/llvm/IR/Use.h
The file was modifiedmlir/include/mlir/IR/Module.h
The file was modifiedmlir/include/mlir/IR/Types.h
The file was modifiedmlir/include/mlir/IR/Identifier.h
The file was modifiedclang/include/clang/AST/ExternalASTSource.h
The file was modifiedllvm/include/llvm/ADT/PointerIntPair.h
The file was modifiedmlir/include/mlir/IR/Location.h
The file was modifiedpolly/include/polly/CodeGen/IslExprBuilder.h
The file was modifiedmlir/include/mlir/IR/Value.h
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedmlir/include/mlir/IR/Attributes.h
The file was modifiedclang/include/clang/Basic/IdentifierTable.h
The file was modifiedllvm/include/llvm/Support/PointerLikeTypeTraits.h
The file was modifiedmlir/include/mlir/IR/Function.h
The file was modifiedclang/include/clang/AST/CanonicalType.h
The file was modifiedmlir/include/mlir/IR/OperationSupport.h
The file was modifiedclang/include/clang/Sema/Ownership.h
The file was modifiedclang/include/clang/AST/DeclGroup.h
Commit 933b4212566b421191581ed6945d4ec131cc1366 by aminim
[mlir] Add missing dependency on LinalgUtils
Differential Revision: https://reviews.llvm.org/D72821
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was modifiedmlir/test/lib/Transforms/TestLinalgTransforms.cpp
Commit fb5fafb23cc2d8613f8be2487afe94d8594a88ce by thakis
Make LLVM_APPEND_VC_REV=OFF affect clang, lld, and lldb as well.
When LLVM_APPEND_VC_REV=OFF is set, the current git hash is no longer
embedded into binaries (mostly for --version output). Without it, most
binaries need to relink after every single commit, even if they didn't
change otherwise (due to, say, a documentation-only commit).
LLVM_APPEND_VC_REV is ON by default, so this doesn't change the default
behavior of anything.
With this, all clients of GenerateVersionFromVCS.cmake honor
LLVM_APPEND_VC_REV.
Differential Revision: https://reviews.llvm.org/D72855
The file was modifiedclang/lib/Basic/CMakeLists.txt
The file was modifiedlld/Common/CMakeLists.txt
The file was modifiedllvm/cmake/modules/LLVMConfig.cmake.in
The file was modifiedllvm/docs/CMake.rst
The file was modifiedlldb/source/CMakeLists.txt
Commit 1645f5e496b93c534069f03886c97be85d5de35d by thakis
[gn build] replace llvm_allow_tardy_revision with llvm_append_vc_rev
Previously, the gn build would create VCSRevision.h / VCSVersion.h files
with some LLD_REVISION / LLVM_REVISION / CLANG_REVISION but by default
wouldn't add a dependency on .git/logs/HEAD so that the step doesn't
rerun after every branch switch or every pull.
That's bad for deterministic builds, and having --version print some
arbitrarily old revision isn't great either.
Instead, move to the model that the cmake build (now) uses fairly
consistently: If llvm_append_vc_rev is set, include the revision, else
don't.
Since the GN build is focused on developers, set llvm_append_vc_rev to
false instead of true by default (different from the cmake build), so
that things don't rebuild after every branch switch and every pull.
While here, also remove some pre-monorepo code.
Differential Revision: https://reviews.llvm.org/D72859
The file was modifiedllvm/utils/gn/build/write_vcsrevision.gni
The file was modifiedllvm/utils/gn/build/write_vcsrevision.py
Commit 40ac4221c30f9bd5d10200c262e53bf228cce6b8 by echristo
Move static function to inline function - this fixes a conceivable ODR
violation and a clang-tidy warning about an unused function in a number
of translation units.
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
Commit 1b1022b42adee5278fd0cbd624b94c271f9f8ae6 by wanyu9511
Add back other PowerPC link components.
Add the link components back to unblock bots for the moment. In the
meantime, I'm investigating the BUILD_SHARED_LIBS=ON build to find out
the minimal list of components needed.
The file was modifiedllvm/unittests/Target/PowerPC/CMakeLists.txt
Commit 30a8865142abe309bb9aceede2708c171a2904ea by ditaliano
[FastISel] Lower `llvm.dbg.value(undef, ...` correctly.
Summary: Instead of just dropping them.
<rdar://problem/58657146>
Reviewers: aprantl, vsk, ab, paquette, echristo
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72877
The file was addedllvm/test/CodeGen/AArch64/fastisel-debugvalue-undef.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp
Commit 8ef57f3e3f1b241e5b544a167ac64b35f7275759 by smeenai
[xray] add --no-demangle cli opt for llvm-xray extract to output mangled
names
This adds an additional cli flag for the llvm-xray extract tool.  This
is useful if you're more interested in consuming the mangled symbol
name, instead of the default now which is demangled.
Differential Revision: https://reviews.llvm.org/D72804
The file was addedllvm/test/tools/llvm-xray/AArch64/extract-instrmap-aarch64-mangled.test
The file was modifiedllvm/tools/llvm-xray/xray-extract.cpp
Commit 2671df9bd675d4a1a07457dce748f4fe939e95fb by Jonas Devlieghere
[lldb/Debugger] Rename ExecuteIOHandlers to RunIOHandlers (NFC)
This improves consistency among the related methods.
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/include/lldb/Core/Debugger.h
Commit 7b0d58e339b271e3b1d9dc14b781b57fa0262e3a by Adrian Prantl
Add testing for DW_OP_piece and fix a bug with small Scalar values.
By switching to Scalars that are backed by explicitly-sized APInts we
can avoid a bug that increases the buffer reserved for a small piece to
the next-largest host integer type.
This manifests as "DW_OP_piece for offset foo but top of stack is of
size bar".
Differential Revision: https://reviews.llvm.org/D72879
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
Commit f55ab6f90b7317a6bb85303a6102702bdae1199e by Adrian Prantl
Fix a buffer-size bug when the first DW_OP_piece is undefined
and document the shortcomings of LLDB's partially defined DW_OP_piece
handling.
This would manifest as "DW_OP_piece for offset foo but top of stack is
of size bar".
rdar://problem/46262998
Differential Revision: https://reviews.llvm.org/D72880
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
Commit 83f4c3af021cd5322ea10fd1c4e839874c1dae49 by vsapsai
[modules] Do not cache invalid state for modules that we attempted to
load.
Partially reverts 0a2be46cfdb698fefcc860a56b47dde0884d5335 as it turned
out to cause redundant module rebuilds in multi-process incremental
builds. When a module was getting out of date, all compilation processes
started at the same time were marking it as `ToBuild`. So each process
was building the same module instead of checking if it was built by
someone else and using that result. In addition to the work duplication,
contention on the same .pcm file wasn't making builds faster.
Note that for a single-process build this change would cause redundant
module reads and validations. But reading a module is faster than
building it and multi-process builds are more common than
single-process. So I'm willing to make such a trade-off.
rdar://problem/54395127
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D72860
The file was modifiedclang/unittests/Serialization/InMemoryModuleCacheTest.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Serialization/ModuleManager.cpp
The file was removedclang/test/Modules/Inputs/implicit-invalidate-chain/B.h
The file was removedclang/test/Modules/Inputs/implicit-invalidate-chain/C.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was removedclang/test/Modules/implicit-invalidate-chain.c
The file was modifiedclang/unittests/Frontend/FrontendActionTest.cpp
The file was removedclang/test/Modules/Inputs/implicit-invalidate-chain/A.h
The file was removedclang/test/Modules/Inputs/implicit-invalidate-chain/module.modulemap
The file was modifiedclang/lib/Serialization/InMemoryModuleCache.cpp
The file was modifiedclang/include/clang/Serialization/InMemoryModuleCache.h
Commit 6c26d8968ad8efd19e29b94f5f0a2b4c87904ae1 by wanyu9511
Add back more link components.
Add all previous link components back to unblock bots for the moment. In
the meantime, I'm investigating the BUILD_SHARED_LIBS=ON build to find
out the minimal list of components needed.
The file was modifiedllvm/unittests/Target/PowerPC/CMakeLists.txt
Commit cef838e65f9a2aeecf5e19431077bc16b01a79fb by zakk.chen
Revert "[RISCV] Support ABI checking with per function target-features"
This reverts commit 7bc58a779aaa1de56fad8b1bc8e46932d2f2f1e4. It breaks
EXPENSIVE_CHECKS on Windows
The file was modifiedllvm/lib/Target/RISCV/Utils/RISCVBaseInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/test/CodeGen/RISCV/subtarget-features-std-ext.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit b78e8e0d79c47a6698a0abc10a37b8a253cb6064 by richard
Add extra test file forgotten in 45d7080.
The file was addedclang/test/Parser/explicit-bool.cpp
Commit ad83bed2411fdc9f9ef691a320d5d35b65ab4bae by wanyu9511
[NFC][PowerPC] Remove unnecessary link components.
Remove unused link components for PowerPC target unittest according to
post commit comments. This is a redo for a previous commit
"fc4e43ad618b" that removed a few components that are necessary when
libraries are to be built shared (i.e., BUILD_SHARED_LIBS=ON).
The file was modifiedllvm/unittests/Target/PowerPC/CMakeLists.txt
Commit 6a970135904d234039a15616481a909363b77739 by antiagainst
[mlir][spirv] Add implied capabilities and availability for capabilities
Certain SPIR-V capabilities are only available in certain SPIR-V
versions or extensions. Also a SPIR-V capability may implicitly declares
other capabilities.
This commit updates gen_spirv_dialect.py to support generating such
information into SPIRVBase.td. It requires us to topologically sort all
capabilities because now a capability can refer to another one.
This commits also registers a few extensions because their symbols are
used by capability availability.
Note that this commit hasn't updated SPIRVConversionTarget to take into
consideration such relationship yet. That will be done in a following-up
commit.
Differential Revision: https://reviews.llvm.org/D72760
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
The file was modifiedmlir/utils/spirv/gen_spirv_dialect.py
Commit ccedb918bb33d2190e81688186946d00aa908e44 by antiagainst
[mlir][spirv] Use symbolize functions in enum attribute predicates
By default, for an enum attribute, we will generate a list of equality
comparisons for all supported cases inside it's predicate. This list can
be fairly large for certain SPIR-V enum attributes. Instead, we already
have such a list generated by EnumsGen in the symbolize functions.
Leverage that to simplify the generated C++ code.
Differential Revision: https://reviews.llvm.org/D72763
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
The file was modifiedmlir/utils/spirv/gen_spirv_dialect.py
Commit 961174f8787b0b7f6d9c699e71dd278b66b16c38 by antiagainst
[mlir][spirv] Fix SPV_MM_Vulkan extension reqirements
SPV_MM_Vulkan can be enabled by the SPV_KHR_vulkan_memory_model
extension.
Differential Revision: https://reviews.llvm.org/D72764
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
The file was modifiedmlir/test/Dialect/SPIRV/availability.mlir
Commit 051d330314cb1f175025ca37da8e5e1d851e1790 by hayarms
Avoid creating an immutable map in the Automaton class.
Summary: In the DFAPacketizer we copy the Transitions array into a map
in order to later access the transitions based on a "Current
State/Action" pair as a key. This map lives in the Automaton object used
by the DFAPacketizer. It is never changed during the life of the object
after having been created during the creation of the Automaton itself.
This map creation can make the creation of a DFAPacketizer quite
expensive if the target contains a considerable amount of transition
states.
Considering that TableGen already generates a sorted list of transitions
by State/Action pairs we could just use that directly in our Automaton
and search entries with std::lower_bound instead of copying it in a map
and paying the execution time and memory cost.
Reviewers: jmolloy, ThomasRaoux
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72682
The file was modifiedllvm/include/llvm/Support/Automaton.h
The file was modifiedllvm/utils/TableGen/DFAEmitter.cpp
Commit 117d4f1900c0f02774226869d42de4b585dae66c by arsenm2
AMDGPU: Add register classes to MUBUF load patterns
The file was modifiedllvm/lib/Target/AMDGPU/BUFInstructions.td
Commit 01a6cd471f019cfeda057c3b1b6fc6213575217c by richard
Don't dump IR output from this test to stdout.
The file was modifiedclang/test/CodeGenHIP/printf-aggregate.cpp
Commit 24fca5cd712800ef17fac8c6cc158f8075e014dc by cyndy_ishida
[lldb] add to gdb to lldb doc
Summary: * enabling and disabling a breakpoint were missing.
Reviewers: JDevlieghere
Reviewed By: JDevlieghere
Subscribers: merge_guards_bot, jingham, dexonsmith, ributzka,
lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D72898
The file was modifiedlldb/docs/use/map.rst
Commit 25cf941275edacd5199550fef638005f2ecfd35b by Jonas Devlieghere
[lldb/CMake] Set LLVM_HOST_TRIPLE from TARGET_TRIPLE in standalone
builds.
LLVMConfig doesn't export LLVM_HOST_TRIPLE, but it sets the
TARGET_TRIPLE based on this variable. So use that again for the compiler
invocations in the shell tests.
The file was modifiedlldb/test/CMakeLists.txt
Commit 0d3d584f82ffb7b8ce79fc81194886962716b5a0 by Lang Hames
[docs][ORC] Update the "utilities" section, tidy intro and fix typo.
This patch updates the formatting and language of the Features section
of the ORCv2 design document. It also fixes a TBD by adding discussion
of the absoluteSymbols, symbolAliases, and reexports utilities.
Typos found during editing were also fixed.
The file was modifiedllvm/docs/ORCv2.rst
Commit d3d7666678a227cc4eed5a2e60a08a87f027cafb by Jonas Devlieghere
[lldb/CMake] Remove duplicate entry
The file was modifiedlldb/test/API/CMakeLists.txt
Commit caee96031d3be9f951e4a17c8d3fb1c8b748fb31 by craig.topper
[Transforms][RISCV] Remove a "using namespace llvm" from an include
file. Fix a place that became dependent on it.
This include file was created in October and has a "using namespace
llvm". This seems to get exposed to other include files and finally onto
cpp files. While this somewhat okay for llvm itself, its bad for other
projects that use llvm as a library and includes a header file that
picks this up. This was found by ISPC which has some class names at
gloal scope with the same names as LLVM.
It looks like RISCV accidentally became dependent on this. I fixed it by
reordering some includes in the RISCV code, but maybe we want to change
the TableGenEmitter to put "namespace llvm {" in the generated file
instead? But we probably want to do the simplest thing first so we can
merge it to 10.0.
Differential Revision: https://reviews.llvm.org/D72895
The file was modifiedllvm/include/llvm/Transforms/Utils/SizeOpts.h
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
Commit adef2f5324cc593e078918eaa31218279ba1916a by Lang Hames
[docs][ORC] Fix some RST errors in the ORCv2 doc.
The file was modifiedllvm/docs/ORCv2.rst
Commit f6d6b98eec41e3f73862bcbae6a0771dafcecfd8 by Lang Hames
[docs][ORC] Try to fix 'title-level inconsistent' error in ORCv2.rst.
The file was modifiedllvm/docs/ORCv2.rst
Commit 911a4c4dda9b3e50d4b610d50cc6368433a67684 by Jonas Devlieghere
[lldb/Test] Fix API tests for mutli-config generators
The build configuration wasn't properly substituted for the
config.lldb_executable variable. This broke when the variable was
extracted from config.dotest_args_str which was properly substituted.
The file was modifiedlldb/test/API/lit.site.cfg.py.in
Commit e1f6b68d1fd117b92953d2e21567dd8dad759a8b by Jonas Devlieghere
[lldb/Cmake] Add a CMakeLists.txt to the utils directory...
... and include it from the main CMakeLists.txt instead of including the
utility subdirectories directly. This is consistent with the other
subdirectories and limits the scope of future changes.
The file was addedlldb/utils/CMakeLists.txt
The file was modifiedlldb/CMakeLists.txt
Commit 9dbd395b9b8b5f0cb4d10fa05f6f3591d338e486 by apl
[lldb] Remove ClangASTContext.h inclusion in Target.cpp
Target doesn't use ClangASTContext, it just needs
PersistentExpressionState. Replace ClangASTContext.h with
ExpressionVariable.h
The file was modifiedlldb/source/Target/Target.cpp
Commit 4df94d5b513c20842f5eeeb1e0d059bfa6741d91 by kadircet
Revert "[clangd][test] Disable a particular testcase in
FindExplicitReferencesTest when LLVM_ENABLE_EXPENSIVE_CHECKS"
This reverts commit 42b3c38903c9c80e129ce678db7f522967e91eeb.
Should've been fixed by d54d71b67e60
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
Commit 5ac610668a7cbde4e8d7106b03ecb218b823fb5c by Raphael Isemann
[lldb] Re-add NSDate formatter
This test had been overwritten by accident in
ff75262f701da396a0d34d4f6b67cf8e4c9dc7c2. This just readds the test with
the correct content.
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py
Commit 0ab035ae504deaba4bc24d32bc38c6bc3be58e01 by hans
Remove old Suversion release scripts
The file was removedllvm/utils/release/merge-git.sh
The file was removedllvm/utils/release/tag.sh
The file was removedllvm/utils/release/merge.sh
Commit 6b840834cd508aa673a30074ebd4649100bc8d9a by Raphael Isemann
[lldb][NFC] Delete unused
lldb/source/Plugins/LanguageRuntime/Go/CMakeLists.txt
The file was removedlldb/source/Plugins/LanguageRuntime/Go/CMakeLists.txt
Commit d437fba8ef626b6d8b7928540f630163a9b04021 by sguelton
Reapply Allow system header to provide their own implementation of some
builtin
This reverts commit 3d210ed3d1880c615776b07d1916edb400c245a6.
See https://reviews.llvm.org/D71082 for the patch and discussion that
make it possible to reapply this patch.
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was addedclang/test/CodeGen/memcpy-nobuiltin.inc
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was addedclang/test/CodeGen/memcpy-nobuiltin.c
Commit d293417931d3a9d46799b42795988ca3b5cfd766 by sguelton
Add __warn_memset_zero_len builtin as a workaround for glibc issue
Glibc issue: https://sourceware.org/bugzilla/show_bug.cgi?id=25399 The
fix consist in considering the missing function as a builtin lowered to
a nop.
Differential Revision: https://reviews.llvm.org/D72869
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/CodeGen/builtins.c
Commit 0734fb21ed5e267dda1a91e5f8b82f653ac3562d by martin
clang-format: [JS] Handle more keyword-named methods.
Summary: Including `do`, `for`, and `while`, `if`, `else`, `try`,
`catch`, in addition to the previously handled fields. The unit test
explicitly uses methods, but this code path handles both fields and
methods.
Reviewers: krasimir
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72827
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/unittests/Format/FormatTestJS.cpp
Commit 10b4aece528936bb7f75a9758ae95c61b6434d2f by gribozavr
Revert "Avoid creating an immutable map in the Automaton class."
This reverts commit 051d330314cb1f175025ca37da8e5e1d851e1790. It broke
buildbots, for example,
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/21908.
The file was modifiedllvm/utils/TableGen/DFAEmitter.cpp
The file was modifiedllvm/include/llvm/Support/Automaton.h
Commit c3ab790c8f5d2946c3e4e4bf78cedf6be11a6f5a by Raphael Isemann
[lldb][NFC] Resynchronize Init/Terminate calls in
SystemInitializerFull/Test.cpp files.
These files should do the more or less the same initialize/terminate
calls in the same order. This just reverts all the differences that have
piled up over time in the SystemInitializerTest that people keep
forgetting about.
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
Commit 01ad4c838466bd5db180608050ed8ccb3b62d136 by peter.smith
[LLD][ELF][ARM][AArch64] Only round up ThunkSection Size when large OS.
In D71281 a fix was put in to round up the size of a ThunkSection to the
nearest 4KiB when performing errata patching. This fixed a problem with
a very large instrumented program that had thunks and patches mutually
trigger each other. Unfortunately it triggers an assertion failure in an
AArch64 allyesconfig build of the kernel. There is a specific assertion
preventing an InputSectionDescription being larger than 4KiB. This will
always trigger if there is at least one Thunk needed in that
InputSectionDescription, which is possible for an allyesconfig build.
Abstractly the problem case is:
.text : {
         *(.text) ;
         ...
         . = ALIGN(SZ_4K);
         __idmap_text_start = .;
         *(.idmap.text)
         __idmap_text_end = .;
         ...
       } The assertion checks that __idmap_text_end - __idmap_start is <
4 KiB. Note that there is more than one InputSectionDescription in the
OutputSection so we can't just restrict the fix to OutputSections
smaller than 4 KiB.
The fix presented here limits the D71281 to InputSectionDescriptions
that meet the following conditions: 1.) The OutputSection is bigger than
the thunkSectionSpacing so adding thunks will affect the addresses of
following code. 2.) The InputSectionDescription is larger than 4 KiB.
This will prevent any assertion failures that an InputSectionDescription
is < 4 KiB in size.
We do this at ThunkSection creation time as at this point we know that
the addresses are stable and up to date prior to adding the thunks as
assignAddresses() will have been called immediately prior to thunk
generation.
The fix reverts the two tests affected by D71281 to their original state
as they no longer need the 4KiB size roundup. I've added simpler tests
to check for D71281 when the OutputSection size is larger than the
ThunkSection spacing.
Fixes https://github.com/ClangBuiltLinux/linux/issues/812
Differential Revision: https://reviews.llvm.org/D72344
The file was modifiedlld/ELF/SyntheticSections.h
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/test/ELF/arm-fix-cortex-a8-thunk.s
The file was modifiedlld/test/ELF/aarch64-cortex-a53-843419-thunk.s
The file was addedlld/test/ELF/arm-fix-cortex-a8-thunk-align.s
The file was modifiedlld/ELF/Relocations.cpp
The file was addedlld/test/ELF/aarch64-cortex-a53-843419-thunk-align.s
Commit fe3bb8ec9683559fe839ef883e189e5dcf0c5af2 by kerry.mclaughlin
[AArch64][SVE] Add ImmArg property to intrinsics with immediates
Summary: Several SVE intrinsics with immediate arguments (including
those added by D70253 & D70437) do not use the ImmArg property. This
patch adds ImmArg<Op> where required and changes the appropriate
patterns which match the immediates.
Reviewers: efriedma, sdesmalen, andwar, rengolin
Reviewed By: efriedma
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72612
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td