SuccessChanges

Summary

  1. [lldb] Increase test time-out from 60 to 90 minutes (details)
  2. Revert "Reduce the amount of parallelism in the debuginfo tests even further." (details)
  3. Add a one-time retry to debuginfo-tests. (details)
Commit cda7af100c2790582410858611b41791397bc366 by Jonas Devlieghere
[lldb] Increase test time-out from 60 to 90 minutes

This should account for the slower node while still giving us some
signal when the testing time regresses.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake (diff)
Commit c7fa651e0799f944904619af25f3bdba0e6f2f17 by Adrian Prantl
Revert "Reduce the amount of parallelism in the debuginfo tests even further."

This reverts commit da75a91597836a646a345fb5ba699915a6baa69e.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake (diff)
Commit 303368a0a9deff12488203e0b4b009d90c303db0 by Adrian Prantl
Add a one-time retry to debuginfo-tests.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake (diff)

Summary

  1. AMDGPU/GlobalISel: Manually select llvm.amdgcn.writelane (details)
  2. [lldb/CMake] Separate CMake code for Lua and Python (NFC) (details)
  3. [X86][SSE] combineShuffleWithHorizOp - avoid unnecessary subtraction. NFCI. (details)
  4. [DWARFYAML] Teach yaml2obj emit the correct line table program. (details)
  5. Fold Opcode into assert uses to fix an unused variable warning without asserts. (details)
  6. [libTooling] Cleanup and reorder `RewriteRule.h`. (details)
  7. [clangd][ObjC] Improve xrefs for protocols and classes (details)
  8. [InstSimplify] Forbid undef folds in expandBinOp (details)
  9. [libTooling] Move RewriteRule include edits to ASTEdit granularity. (details)
  10. [llvm-jitlink] Fix a file comment. (details)
  11. [ORC] Move file-descriptor based raw byte channel into a public header. (details)
  12. GlobalISel: Fix typo (details)
  13. [X86][SSE] combineShuffleWithHorizOp - canonicalize SHUFFLE(HOP(X,Y),HOP(Y,X)) -> SHUFFLE(HOP(X,Y)) (details)
  14. Fix MSVC "not all control paths return a value" warning. NFC. (details)
  15. [XCOFF][llvm-readobj] Move XCOFF test to XCOFF directory (details)
  16. [NFC][llvm-objcopy] Fix redundant config checks. (details)
  17. [GlobalISel] Combine (logic_op (op x...), (op y...)) -> (op (logic_op x, y)) (details)
  18. [libc] Add strtok implementation. (details)
  19. [Flang] Fix release blocker issue #46931 related to documentation. (details)
Commit 0dc4c36d3aa1c1bcae4aa00e7808722ebfd22f6d by Matthew.Arsenault
AMDGPU/GlobalISel: Manually select llvm.amdgcn.writelane

Fixup the special case constant bus handling pre-gfx10.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.writelane.ll
Commit c135744b1df394f51b6a08bc562f99a1236e772c by Jonas Devlieghere
[lldb/CMake] Separate CMake code for Lua and Python (NFC)

Separate the CMake logic for Lua and Python to clearly distinguish
between code specific to either scripting language and the code shared
by both.

What this patch does is:

- Move Python specific code into the bindings/python subdirectory.
- Move the Lua specific code into the bindings/lua subdirectory.
- Add the _python suffix to Python specific functions/targets.
- Fix a dependency issue that would check the binding instead of
   whether the scripting language is enabled.

Note that this patch also changes where the bindings are generated,
which might affect downstream projects that check them in.

Differential revision: https://reviews.llvm.org/D85708
The file was modifiedlldb/bindings/CMakeLists.txt
The file was removedlldb/bindings/lua.swig
The file was addedlldb/bindings/lua/lua.swig
The file was modifiedlldb/docs/CMakeLists.txt
The file was removedlldb/bindings/python.swig
The file was addedlldb/bindings/python/python.swig
The file was modifiedlldb/CMakeLists.txt
The file was addedlldb/bindings/python/CMakeLists.txt
The file was addedlldb/bindings/lua/CMakeLists.txt
The file was modifiedlldb/source/API/CMakeLists.txt
Commit fe1f36986b23a67c218d7ca24741d5ebd6886473 by llvm-dev
[X86][SSE] combineShuffleWithHorizOp - avoid unnecessary subtraction. NFCI.

We can safely replace ((M - NumElts) % NumEltsPerLane) with (M % NumEltsPerLane) as the modulo result will be the same.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 45a4f4c806669c60adc28a63b19f4e46b99c5efb by Xing
[DWARFYAML] Teach yaml2obj emit the correct line table program.

The following issues are addressed in this patch.

1. The operands of DW_LNE_set_discriminator should be an ULEB128 number
   rather than an address.
2. Test the emitted opcodes.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D85717
The file was modifiedllvm/test/tools/yaml2obj/ELF/DWARF/debug-line.yaml
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
Commit 8155cb27a2327834ae7f0d320dc0e26f108891a8 by echristo
Fold Opcode into assert uses to fix an unused variable warning without asserts.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 645dd1b3bf8d976683c72b9faf501d6f0b16326e by yitzhakm
[libTooling] Cleanup and reorder `RewriteRule.h`.

This patch lifts `RootID` out of the `RewriteRule` class so that constructs
(e.g. inline functions) can that refer to the root id don't need to depend on
the `RewriteRule` class.

With this dependency, the patch is able to collect all `ASTEdit` helper function
declarations together with the class declaration, before the introduction of the
`RewriteRule` class. In the process, we also adjust some of the comments.

This patch is essentially a NFC.

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D85733
The file was modifiedclang/include/clang/Tooling/Transformer/RewriteRule.h
The file was modifiedclang/lib/Tooling/Transformer/RewriteRule.cpp
Commit cb29c33984bf40beebd22edf80a5034cf8849307 by davg
[clangd][ObjC] Improve xrefs for protocols and classes

Summary:
Previously clangd would jump to forward declarations for protocols
and classes instead of their definition/implementation.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83501
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
Commit d110d4aaff31198cd455b68617978019a8339773 by nikita.ppv
[InstSimplify] Forbid undef folds in expandBinOp

This is the replacement for D84250 based on D84792. As we recursively
fold with the same value twice, we need to disable undef folds,
to prevent an undef from being folded to two different values.

Reverting rG00f3579aea6e3d4a4b7464c3db47294f71cef9e4 and using the
test case from https://reviews.llvm.org/D83360#2145793, it no longer
performs the incorrect fold.

Differential Revision: https://reviews.llvm.org/D85684
The file was modifiedllvm/include/llvm/Analysis/InstructionSimplify.h
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit d8c1f43dcc949fda5ce37a122d1a0d92975de82c by yitzhakm
[libTooling] Move RewriteRule include edits to ASTEdit granularity.

Currently, changes to includes are applied to an entire rule. However,
include changes may be specific to particular edits within a rule (for example,
they may apply to one file but not another). Also, include changes may need to
carry metadata, just like other changes. So, we make include changes first-class
edits.

Reviewed By: tdl-g

Differential Revision: https://reviews.llvm.org/D85734
The file was modifiedclang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
The file was modifiedclang/lib/Tooling/Transformer/RewriteRule.cpp
The file was modifiedclang/lib/Tooling/Transformer/Transformer.cpp
The file was modifiedclang/include/clang/Tooling/Transformer/RewriteRule.h
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
Commit 989d8dc9fe201eaa2c323d92bc39c00ee53f5012 by Lang Hames
[llvm-jitlink] Fix a file comment.
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.h
Commit eed19c8c7e7a7a44e4a417b8df7afce5c4ae738c by Lang Hames
[ORC] Move file-descriptor based raw byte channel into a public header.

This will enable re-use in other llvm tools.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPC/RPCSerialization.h
The file was addedllvm/include/llvm/ExecutionEngine/Orc/RPC/FDRawByteChannel.h
The file was modifiedllvm/tools/lli/lli.cpp
The file was modifiedllvm/tools/lli/RemoteJITUtils.h
The file was modifiedllvm/tools/lli/ChildTarget/ChildTarget.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPC/RPCUtils.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPC/RawByteChannel.h
Commit 8dd2eb10bbc40610b8943cfb04a81e9c7dbc71e1 by Matthew.Arsenault
GlobalISel: Fix typo
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
Commit 2655bd51d6a350b1aa71566fa9cbaad64990336a by llvm-dev
[X86][SSE] combineShuffleWithHorizOp - canonicalize SHUFFLE(HOP(X,Y),HOP(Y,X)) -> SHUFFLE(HOP(X,Y))

Attempt to canonicalize binary shuffles of HOPs with commuted operands to an unary shuffle.
The file was modifiedllvm/test/CodeGen/X86/haddsub-shuf.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/haddsub-undef.ll
Commit b9aaf32f46494695d1b20c08730c1111536e17f8 by llvm-dev
Fix MSVC "not all control paths return a value" warning. NFC.
The file was modifiedclang/lib/Tooling/Transformer/RewriteRule.cpp
Commit 0dc5e0cd393d1bf451c27c1a2d8471a4df0f42b0 by jasonliu
[XCOFF][llvm-readobj] Move XCOFF test to XCOFF directory

Summary:
COFF and XCOFF in llvm are very different and serves different platform.
Since we have different Dumper.cpp file in llvm-readobj's
implementation, we should have separate testing directory for them too.

Reviewed By: jhenderson, DiggerLin

Differential Revision: https://reviews.llvm.org/D85675
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/basic.o
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/reloc-overflow.o
The file was addedllvm/test/tools/llvm-readobj/XCOFF/sections.test
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/xcoff-reloc-overflow.o
The file was removedllvm/test/tools/llvm-readobj/COFF/xcoff-overflow-section.test
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/basic-neg-sym-count.o
The file was removedllvm/test/tools/llvm-readobj/COFF/xcoff-sections.test
The file was addedllvm/test/tools/llvm-readobj/XCOFF/reloc_overflow.test
The file was addedllvm/test/tools/llvm-readobj/XCOFF/overflow-section.test
The file was removedllvm/test/tools/llvm-readobj/COFF/xcoff-symbols.test
The file was addedllvm/test/tools/llvm-readobj/XCOFF/symbols.test
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/symbol.o
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/xcoff-basic-neg-time.o
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/xcoff-basic-64.o
The file was removedllvm/test/tools/llvm-readobj/COFF/reloc_overflow.test
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/basic-neg-time.o
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/aix_xcoff_xlc_test8.o
The file was addedllvm/test/tools/llvm-readobj/XCOFF/basic.test
The file was removedllvm/test/tools/llvm-readobj/COFF/xcoff-basic.test
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/xcoff-basic.o
The file was addedllvm/test/tools/llvm-readobj/XCOFF/Inputs/basic64.o
The file was removedllvm/test/tools/llvm-readobj/COFF/Inputs/xcoff-basic-neg-sym-count.o
Commit d2c18b598359f9b59314669ccd15070d07aeb68a by rupprecht
[NFC][llvm-objcopy] Fix redundant config checks.

The check for unsupported options checks some configs twice in a || expression. Fixes PR47107.
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
Commit bebe6a6449811e877f7eba3f1798ddd1fa83e440 by Jessica Paquette
[GlobalISel] Combine (logic_op (op x...), (op y...)) -> (op (logic_op x, y))

This implements

```
(logic_op (op x...), (op y...)) -> (op (logic_op x, y))
```

when `op` is an extend, a shift, or an and.

This is similar to `DAGCombiner::hoistLogicOpWithSameOpcodeHands`
(with a bunch of missing cases, e.g. G_TRUNC, G_BITCAST, etc.)

This is implemented so it works both pre and post-legalization.

This also adds a general way to add a series of instructions in a combine.
(`applyBuildInstructionSteps`).

Differential Revision: https://reviews.llvm.org/D85050
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-hoist-same-hands.mir
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/postlegalizercombiner-hoist-same-hands.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
Commit 667843cc07c934b7fc20de0cc86323ae5fde48ce by gyurgyikcp
[libc] Add strtok implementation.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D85615
The file was modifiedlibc/src/string/string_utils.h
The file was modifiedlibc/test/src/string/CMakeLists.txt
The file was addedlibc/src/string/strtok.h
The file was modifiedlibc/src/string/CMakeLists.txt
The file was addedlibc/src/string/strtok.cpp
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was addedlibc/test/src/string/strtok_test.cpp
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
Commit 2fc86ccdd25309b9f77739aaed4a7b06f1c6f111 by joshisameeran17
[Flang] Fix release blocker issue #46931 related to documentation.

Summary:
Fixes bug : https://bugs.llvm.org/show_bug.cgi?id=46931
This commit add a new flag -DLLVM_ENABLE_SPHINX=ON to cmake command to generate sphinx documentation,
along with new cmake targets `docs-flang-html`.
`ninja docs-flang-html` - generates sphinx documentation.
Generated release notes are present in <builddir>/tools/flang/docs/html/ folder.

Reviewers: richard.barton.arm, DavidTruby

Tags: #flang

Differential Revision: https://reviews.llvm.org/D85470
The file was addedflang/docs/_static/llvm.css
The file was addedflang/docs/ReleaseNotes.rst
The file was addedflang/docs/_themes/llvm-theme/theme.conf
The file was addedflang/docs/_themes/llvm-theme/static/llvm-theme.css
The file was addedflang/docs/_themes/llvm-theme/static/contents.png
The file was addedflang/docs/conf.py
The file was addedflang/docs/_themes/llvm-theme/static/logo.png
The file was addedflang/docs/_themes/llvm-theme/static/navigation.png
The file was addedflang/docs/_themes/llvm-theme/layout.html

Summary

  1. [lldb] Increase test time-out from 60 to 90 minutes (details)
  2. Revert "Reduce the amount of parallelism in the debuginfo tests even further." (details)
  3. Add a one-time retry to debuginfo-tests. (details)
Commit cda7af100c2790582410858611b41791397bc366 by Jonas Devlieghere
[lldb] Increase test time-out from 60 to 90 minutes

This should account for the slower node while still giving us some
signal when the testing time regresses.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake
Commit c7fa651e0799f944904619af25f3bdba0e6f2f17 by Adrian Prantl
Revert "Reduce the amount of parallelism in the debuginfo tests even further."

This reverts commit da75a91597836a646a345fb5ba699915a6baa69e.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake
Commit 303368a0a9deff12488203e0b4b009d90c303db0 by Adrian Prantl
Add a one-time retry to debuginfo-tests.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake