FailedChanges

Summary

  1. [llvm-objcopy][MachO] Add support for removing Swift symbols (details)
  2. [mlir][shape] Add `shape.get_extent`. (details)
  3. [lldb/Test] Modify TestSymbolTable.py for reproducers (details)
  4. [lldb][Core] Remove dead codepath in Mangled (details)
  5. Autogen a couple of test files to make a future diff easier to read (details)
  6. Split a test file so that most of it can be autogened (details)
  7. [lldb/Docs] Add the application speicfic lldbinit to the man page (details)
  8. Add self as code owner for SCEV and IndVars (details)
  9. [AArch64][GlobalISel] Do not modify predicate when optimizing G_ICMP (details)
Commit 842a8cc10c4146cee6cedd94fbf556c94b8ec365 by alexshap
[llvm-objcopy][MachO] Add support for removing Swift symbols

cctools strip has the option "-T" which removes Swift symbols.
This diff implements this option in llvm-strip for MachO.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D80099
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h
The file was modifiedllvm/tools/llvm-objcopy/StripOpts.td
The file was modifiedllvm/docs/CommandGuide/llvm-strip.rst
The file was addedllvm/test/tools/llvm-objcopy/MachO/remove-swift-symbols.test
The file was modifiedllvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.h
The file was modifiedllvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
Commit cf42b704391c44e84485dd2547ae006196998266 by silvasean
[mlir][shape] Add `shape.get_extent`.

Summary:
This op extracts an extent from a shape.

This also is the first op which constant folds to shape.const_size,
which revealed that shape.const_size needs a folder (ConstantLike ops
seem to always need folders for the constant folding infra to work).

Differential Revision: https://reviews.llvm.org/D80394
The file was modifiedmlir/test/Dialect/Shape/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
Commit e724db03752a0cd06a86153fea0d95e377f999c0 by Jonas Devlieghere
[lldb/Test] Modify TestSymbolTable.py for reproducers

Work around global module caching during reproducer replay. See inline
comment for the details.
The file was modifiedlldb/test/API/lang/objc/foundation/TestSymbolTable.py
Commit 1079978b3c506abca2b4dd9a5b131c024330206b by apl
[lldb][Core] Remove dead codepath in Mangled

Summary:
Objective-C names are stored in m_demangled, not in m_mangled. The
method in the condition will never return true.

Differential Revision: https://reviews.llvm.org/D79823
The file was modifiedlldb/source/Core/Mangled.cpp
Commit b90eb0f23b5bf3db4a091748b3ea6de9a45645c9 by listmail
Autogen a couple of test files to make a future diff easier to read
The file was modifiedllvm/test/Transforms/RewriteStatepointsForGC/base-pointers-4.ll
The file was modifiedllvm/test/Transforms/RewriteStatepointsForGC/deopt-lowering-attrs.ll
The file was modifiedllvm/test/Transforms/RewriteStatepointsForGC/basic.ll
Commit bed6624ac43bc223114d0b9380d593f2dfd749ff by listmail
Split a test file so that most of it can be autogened
The file was addedllvm/test/Transforms/RewriteStatepointsForGC/scalar-base-vector-2.ll
The file was modifiedllvm/test/Transforms/RewriteStatepointsForGC/scalar-base-vector.ll
Commit 40c4ecabc238cfdd639bc1e927800337457e69e3 by Jonas Devlieghere
[lldb/Docs] Add the application speicfic lldbinit to the man page

This used to be part of the man page but got lost when we moved to
generating it with Sphinx.
The file was modifiedlldb/docs/man/lldb.rst
Commit 323d850427472ed060fc4c495b2010e6174b875b by listmail
Add self as code owner for SCEV and IndVars

This was discussed on llvm-dev thread "Transferring code ownership for SCEV and IndVars" a few months back.  I just forgot to make the actual change.
The file was modifiedllvm/CODE_OWNERS.TXT
Commit ae597a771ed4d7530e2ef232d02a253067e3312f by Jessica Paquette
[AArch64][GlobalISel] Do not modify predicate when optimizing G_ICMP

This fixes a bug in `tryOptArithImmedIntegerCompare`.

It is unsafe to update the predicate on a MachineOperand when optimizing a
G_ICMP, because it may be used in more than one place.

For example, when we are optimizing G_SELECT, we allow compares which are used
in more than one G_SELECT. If we modify the G_ICMP, then we'll break one of
the G_SELECTs.

Since the compare is being produced to either

1) Select a G_ICMP
2) Fold a G_ICMP into an instruction when profitable

there's no reason to actually modify it. The change is local to the specific
compare.

Instead, pass a `CmpInst::Predicate` to `tryOptArithImmedIntegerCompare` which
can be modified by reference.

Differential Revision: https://reviews.llvm.org/D80585
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-arith-immed-compare.mir