Changes

Summary

  1. Remove old Suversion release scripts (details)
  2. [lldb][NFC] Delete unused (details)
  3. Reapply Allow system header to provide their own implementation of some (details)
  4. Add __warn_memset_zero_len builtin as a workaround for glibc issue (details)
  5. clang-format: [JS] Handle more keyword-named methods. (details)
  6. Revert "Avoid creating an immutable map in the Automaton class." (details)
  7. [lldb][NFC] Resynchronize Init/Terminate calls in (details)
  8. [LLD][ELF][ARM][AArch64] Only round up ThunkSection Size when large OS. (details)
  9. [AArch64][SVE] Add ImmArg property to intrinsics with immediates (details)
  10. [AsmParser] Make generic directives and aliases case insensitive. (details)
  11. Fix Wparentheses warning. NFCI. (details)
  12. [SelectionDAG] Better ISD::ANY_EXTEND/ISD::ANY_EXTEND_VECTOR_INREG (details)
  13. [AArch64][SVE] Add break intrinsics (details)
  14. [lldb] Add missing terminate calls to Python/Lua subsystems (details)
  15. [lldb] Remove out of order OperatingSystemPython::Terminate call in (details)
Commit 0ab035ae504deaba4bc24d32bc38c6bc3be58e01 by hans
Remove old Suversion release scripts
The file was removedllvm/utils/release/merge-git.sh
The file was removedllvm/utils/release/merge.sh
The file was removedllvm/utils/release/tag.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 addedclang/test/CodeGen/memcpy-nobuiltin.inc
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was addedclang/test/CodeGen/memcpy-nobuiltin.c
The file was modifiedclang/include/clang/AST/Decl.h
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/unittests/Format/FormatTestJS.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.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/include/llvm/Support/Automaton.h
The file was modifiedllvm/utils/TableGen/DFAEmitter.cpp
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/Relocations.cpp
The file was modifiedlld/ELF/SyntheticSections.h
The file was modifiedlld/test/ELF/aarch64-cortex-a53-843419-thunk.s
The file was addedlld/test/ELF/aarch64-cortex-a53-843419-thunk-align.s
The file was modifiedlld/test/ELF/arm-fix-cortex-a8-thunk.s
The file was addedlld/test/ELF/arm-fix-cortex-a8-thunk-align.s
The file was modifiedlld/ELF/SyntheticSections.cpp
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
Commit 37fb3b33637b7ac120d68792ad2246c8b5d7eeff by david.spickett
[AsmParser] Make generic directives and aliases case insensitive.
GCC will accept any case for assembler directives. For example ".abort"
and ".ABORT" (even ".aBoRt") are equivalent.
https://sourceware.org/binutils/docs/as/Pseudo-Ops.html#Pseudo-Ops
"The names are case insensitive for most targets, and usually written in
lower case."
Change llvm-mc to accept any case for generic directives or aliases of
those directives.
This for Bugzilla #39527.
Differential Revision: https://reviews.llvm.org/D72686
The file was addedllvm/test/MC/AsmParser/directive_case_insensitive.s
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
Commit 25afe91fd1b8e26258471007a24f856a0d4b14db by llvm-dev
Fix Wparentheses warning. NFCI.
The file was modifiedclang-tools-extra/clang-tidy/readability/QualifiedAutoCheck.cpp
Commit f61115835085fb8a563091f9bbc1c2e7fc5425c2 by llvm-dev
[SelectionDAG] Better ISD::ANY_EXTEND/ISD::ANY_EXTEND_VECTOR_INREG
ComputeKnownBits support
Add DemandedElts handling to ISD::ANY_EXTEND and add missing
ISD::ANY_EXTEND_VECTOR_INREG handling. Despite the lack of test changes
this code IS being used - its just that the ANY_EXTEND ops are legalized
later on (typically to ZERO_EXTEND equivalents) so we typically manage
to combine later on.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 49edf9a509cd0dfccdb92e6a2661a55251d8182f by cullen.rhodes
[AArch64][SVE] Add break intrinsics
Summary: Implements the following intrinsics:
    * @llvm.aarch64.sve.brka
   * @llvm.aarch64.sve.brka.z
   * @llvm.aarch64.sve.brkb
   * @llvm.aarch64.sve.brkb.z
   * @llvm.aarch64.sve.brkn.z
   * @llvm.aarch64.sve.brkpa.z
   * @llvm.aarch64.sve.brkpb.z
Reviewers: sdesmalen, efriedma, dancgr, mgudim, cameron.mcinally,
rengolin
Reviewed By: sdesmalen
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72393
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-operations.ll
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/AArch64SVEInstrInfo.td
Commit f2d41ad0e7e0b6b44641eafa70ef76df6a618810 by Raphael Isemann
[lldb] Add missing terminate calls to Python/Lua subsystems
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
Commit 791f132132b2078cc0171e58332159cd5dafa55e by Raphael Isemann
[lldb] Remove out of order OperatingSystemPython::Terminate call in
SystemInitializerFull
We already call it later in the method (which is in the right order as
we Initialize it at the of the constructor).
The file was modifiedlldb/source/API/SystemInitializerFull.cpp