SuccessChanges

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

Summary

  1. [mlir] Mark witness related Shape dialect ops as NoSideEffect. (details)
  2. [mlir] Custom printing/parsing for Shape::AssumingOp (details)
  3. Revert "Add terminateCommands to lldb-vscode protocol" (details)
  4. Github access test: remove unnecessary whitespaces. (details)
  5. [IR] Simplify BasicBlock::removePredecessor. NFCI. (details)
  6. CommandFlags.h - remove unnecessary includes. NFC. (details)
  7. SLPVectorizer.h - remove unused CommandLine.h include. NFC (details)
  8. [lldb-server] Reset stop reason of all threads when resuming (details)
  9. Use IPv4 for Android connections (details)
  10. [llvm-readobj][test] - Deduplicate YAMLs in gnuhash.test and hash-table.test. NFCI. (details)
  11. [PowerPC] Enable machine verification for 3 passes (details)
Commit 44226c1fea7b5aa407e7e0a17cf71cab9082fd0f by tpopp
[mlir] Mark witness related Shape dialect ops as NoSideEffect.

Differential Revision: https://reviews.llvm.org/D80179
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
Commit fb6986ef69ae7e2dc60b5ae445e6e055a682c53c by tpopp
[mlir] Custom printing/parsing for Shape::AssumingOp

Summary:
Additionally, this adds traits and builder methods to AssumingYieldOp
and names the input witness to the AssumingOp.

Differential Revision: https://reviews.llvm.org/D80187
The file was modifiedmlir/lib/Dialect/Shape/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/test/Dialect/Shape/ops.mlir
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/Shape.h
Commit 2a227b36b010e559bb9495a6deaca086952a8d64 by pavel
Revert "Add terminateCommands to lldb-vscode protocol"

This reverts commit a3609b0ec68522cb417ffe36ce9eb2e25ca61578, because it
makes a number of lldb-vscode tests flaky.
The file was modifiedlldb/tools/lldb-vscode/README.md
The file was modifiedlldb/tools/lldb-vscode/package.json
The file was modifiedlldb/tools/lldb-vscode/VSCode.cpp
The file was modifiedlldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py
The file was modifiedlldb/tools/lldb-vscode/VSCode.h
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp
The file was modifiedlldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py
Commit eba3dd52b14df200afd4b8dfff89d0bb088ba1e6 by maggieyi868
Github access test: remove unnecessary whitespaces.
The file was modifiedllvm/unittests/ADT/MapVectorTest.cpp
Commit e5fc9a3604dca40c89cf243a5208a5135821099c by jay.foad
[IR] Simplify BasicBlock::removePredecessor. NFCI.

This is the second attempt at landing this patch, after fixing the
KeepOneInputPHIs behaviour to also keep zero input PHIs.

Differential Revision: https://reviews.llvm.org/D80141
The file was modifiedllvm/lib/IR/BasicBlock.cpp
The file was modifiedllvm/include/llvm/IR/BasicBlock.h
Commit d9b9ce6c04764275a23cd0cf1856a35aae921af7 by llvm-dev
CommandFlags.h - remove unnecessary includes. NFC.

Replace with forward declarations and move necessary includes down to source files.

Exposes an implicit dependency on TargetMachine.h in llvm-opt-fuzzer.cpp
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.h
The file was modifiedllvm/lib/CodeGen/CommandFlags.cpp
The file was modifiedllvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
Commit 51446c13f6229561db13718555a1b4993caac209 by llvm-dev
SLPVectorizer.h - remove unused CommandLine.h include. NFC
The file was modifiedllvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
Commit 56de738d18e11c86169f0248b97b2854c37e35ce by pavel
[lldb-server] Reset stop reason of all threads when resuming

Summary:
This patch makes the stop reason reset logic similar to MacOS' debugserver, where exceptions are reset for all threads when resuming process for stepping or continuing (see [[ https://github.com/llvm/llvm-project/blob/96f3ea0d21b48ca088355db10d4d1a2e9bc9f884/lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp#L433 | MachThreadList::ProcessWillResume ]] and [[ https://github.com/llvm/llvm-project/blob/96f3ea0d21b48ca088355db10d4d1a2e9bc9f884/lldb/tools/debugserver/source/MacOSX/MachThread.cpp#L363 | MachThread::ThreadWillResume ]]).

Resetting stop reasons on resume fixes problems where LLDB spuriously reports SIGTRAP signal stop reason for deleted breakpoints (both internal and public) and where  LLDB stops on an internal breakpoint while stepping over while a breakpoint is hit in another thread. See [[ https://bugs.llvm.org/show_bug.cgi?id=45642 | PR45642 ]] for details.

Reviewed By: jingham, labath

Differential Revision: https://reviews.llvm.org/D79308
The file was modifiedlldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/NativeThreadLinux.h
The file was addedlldb/test/API/functionalities/thread/break_step_other/TestThreadBreakStepOther.py
The file was addedlldb/test/API/functionalities/thread/break_step_other/Makefile
The file was addedlldb/test/API/functionalities/thread/break_step_other/main.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
Commit a9d7b458c094d62a8c11ada11e39bf0d4da596c8 by pavel
Use IPv4 for Android connections

Summary:
When adb client connects to adb server, or when lldb connects to
lldb server on Android device, IPv6 does not work (at least on
Windows it does not work).

For Android on Windows, each IPv6 failure (fallback-to-IPv4) wastes
2 seconds, and since this is called 5 times when attaching, LLDB
is wasting 10 seconds. This CL brings a big improvement to attach latency.

Reviewers: labath

Reviewed By: labath

Subscribers: aadsm, clayborg, mgrang, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D79757
The file was modifiedlldb/source/Plugins/Platform/Android/AdbClient.cpp
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp
Commit 1dcdb02ceb1c4f8b21a30af1a94d9a850ee3604f by grimar
[llvm-readobj][test] - Deduplicate YAMLs in gnuhash.test and hash-table.test. NFCI.

We can use `-D` to generalize inputs. This patch does it.

Differential revision: https://reviews.llvm.org/D80199
The file was modifiedllvm/test/tools/llvm-readobj/ELF/hash-table.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/gnuhash.test
Commit 3f376ecad07df39115077fc8a153a2c15c5b4236 by shkzhang
[PowerPC] Enable machine verification for 3 passes

Summary:
For PowerPC, there are 3 passes has disabled the machine verification.
```
PPCTargetMachine.cpp:    addPass(&LiveVariablesID, false);
PPCTargetMachine.cpp:    addPass(createPPCEarlyReturnPass(), false);
PPCTargetMachine.cpp:  addPass(createPPCBranchSelectionPass(), false);
```
This patch is to enable machine verification for above three passes.

Reviewed By: steven.zhang

Differential Revision: https://reviews.llvm.org/D79840
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp