SuccessChanges

Summary

  1. [IRSim] Adding a basic similarity identifier. (details)
  2. Revert "[lld-macho] Implement and test resolution of common symbols" (details)
  3. Revert "[lld-macho] Initial support for common symbols" (details)
  4. [flang][driver] Fix options flag in the frontend driver (details)
  5. [OpenMP][MLIR] Add assembly format for master op (details)
  6. [flang][driver] Add missing dependency in CMake files (details)
  7. [flang][NFC] Fix CMake variable name in README.md (details)
  8. [clangd] Disable suffix matching fallback for C during include insertion (details)
  9. [clangd] Fix comment. NFC (details)
  10. [llvm-objcopy][MachO] Fix --add-section (details)
Commit b63bfc2030dedf1f94fd074805993b53c5a71caf by andrew.litteken
[IRSim] Adding a basic similarity identifier.

This takes the mapped instructions from the IRInstructionMapper, and
passes it to the Suffix Tree to find the repeated substrings.  Within
each set of repeated substrings, the IRSimilarityCandidates are compared
against one another for structure, and ensuring that the operands in the
instructions are used in the same way.  Each of these structurally
similarity IRSimilarityCandidates are contained in a SimilarityGroup.

Tests checking for identifying identity of structure, different
isomorphic structure, and different
nonisomoprhic structure are found in
unittests/Analysis/IRSimilarityIdentifierTest.cpp.

Differential Revision: https://reviews.llvm.org/D86972
The file was modifiedllvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
The file was modifiedllvm/include/llvm/Analysis/IRSimilarityIdentifier.h
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp
Commit c367f93e8539c4d0bcdc86ad7ea7923e06231a93 by omair.javaid
Revert "[lld-macho] Implement and test resolution of common symbols"

This reverts commit cd7cb0c30305501982ba37b4905bb264b3539ad0.
Break lldb Arm build:
http://lab.llvm.org:8011/builders/lldb-arm-ubuntu/builds/4409
The file was modifiedlld/MachO/SymbolTable.cpp
The file was removedlld/test/MachO/common-symbol-resolution.s
The file was modifiedlld/test/MachO/nonweak-definition-override.s
Commit 8112d494d344dc0935d5c078f066a43d7c984e0c by omair.javaid
Revert "[lld-macho] Initial support for common symbols"

This reverts commit 63ace77962543f961f1d566dd1243b1fb37129ef.

Breaks LLDB Arm build:
http://lab.llvm.org:8011/builders/lldb-arm-ubuntu/builds/4409
The file was modifiedlld/MachO/Symbols.h
The file was modifiedlld/MachO/Driver.cpp
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/MachO/SyntheticSections.h
The file was removedlld/test/MachO/common-symbol-coalescing.s
The file was modifiedlld/MachO/SymbolTable.cpp
The file was modifiedlld/MachO/SymbolTable.h
Commit 99edb9b79c46706a41921c4edb1b849c1a618d26 by andrzej.warzynski
[flang][driver] Fix options flag in the frontend driver

In the frontend driver we should be using FC1Option (frontend driver
options) instead of FlangOption (flang driver options).

Differential Revision: https://reviews.llvm.org/D88108
The file was modifiedflang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
Commit 7a6627b83539cc3b7970764e96dcfc2c9607b47f by kiran.chandramohan
[OpenMP][MLIR] Add assembly format for master op

Reviewed By: SouraVX, kiranktp

Differential Revision: https://reviews.llvm.org/D87549
The file was modifiedmlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
The file was modifiedmlir/test/Dialect/OpenMP/ops.mlir
Commit 2f90e01a963acc1a4db2fbdd1c7fcf1433955744 by andrzej.warzynski
[flang][driver] Add missing dependency in CMake files

The Flang driver depends on libclangBasic. This means, among other
things, that some of the tablegen files (e.g. diagnostic definitions)
need to be generated before various libclangBasic header files can be
included (e.g. DiagnosticIDs.h). If we are lucky, libclangBasic is
indeed built before various flang driver libraries that depend on it
are. This patch makes sure that this is deterministic - i.e.
libclangBasic is built before the Flang driver libraries are.

Differential Revision: https://reviews.llvm.org/D88110
The file was modifiedflang/lib/FrontendTool/CMakeLists.txt
The file was modifiedflang/lib/Frontend/CMakeLists.txt
Commit 27da2875070ac00f6cd9f8040c6f994aca915406 by andrzej.warzynski
[flang][NFC] Fix CMake variable name in README.md

The CMake variable for the new flang driver is FLANG_BUILD_NEW_DRIVER
rather than BUILD_FLANG_NEW_DRIVER.
The file was modifiedflang/README.md
Commit 64168c6d996b6fdd017488785e0e9ce5ce05be54 by kadircet
[clangd] Disable suffix matching fallback for C during include insertion

Clangd currently doesn't respect language and breaks the builds with
include insertion for C. This patch aims to stop the bleeding by not mapping
back to CPP standard library headers.

Improves https://github.com/clangd/clangd/issues/376.

Differential Revision: https://reviews.llvm.org/D88144
The file was modifiedclang-tools-extra/clangd/unittests/CanonicalIncludesTests.cpp
The file was modifiedclang-tools-extra/clangd/index/CanonicalIncludes.cpp
Commit 98756d865b696bece858ff0832ed3687b6b8ba4b by sam.mccall
[clangd] Fix comment. NFC
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
Commit e60a760b7da970b6eeabc26faa9e065ec7cec1a8 by alexshap
[llvm-objcopy][MachO] Fix --add-section

This diff fixes --add-section functionality and simplifies the tests organization.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D87497
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.cpp
The file was addedllvm/test/tools/llvm-objcopy/MachO/add-section-32.test
The file was removedllvm/test/tools/llvm-objcopy/MachO/add-section.test
The file was addedllvm/test/tools/llvm-objcopy/MachO/add-section-error.test
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h
The file was addedllvm/test/tools/llvm-objcopy/MachO/add-section-64.test