FailedChanges

Summary

  1. First pass on MLIR python context lifetime management. (details)
  2. clangd:  Make ompletionModelCodegen.py tpy2.7 compatible (details)
  3. [gn build] (manually) port 9b6765e784b3 (details)
  4. Pre-commit test for CSEing masked loads/stores (details)
  5. [gn build] Do not sync filenames containing variable references (details)
  6. [clang-format] Recognize "hxx" as a C++ header in clang-format-diff.py (details)
Commit 85185b61b6371c29111611b8e3ac8d06403542c8 by stellaraccident
First pass on MLIR python context lifetime management.

* Per thread https://llvm.discourse.group/t/revisiting-ownership-and-lifetime-in-the-python-bindings/1769
* Reworks contexts so it is always possible to get back to a py::object that holds the reference count for an arbitrary MlirContext.
* Retrofits some of the base classes to automatically take a reference to the context, elimintating keep_alives.
* More needs to be done, as discussed, when moving on to the operations/blocks/regions.

Differential Revision: https://reviews.llvm.org/D87886
The file was modifiedmlir/include/mlir-c/IR.h (diff)
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp (diff)
The file was modifiedmlir/lib/Bindings/Python/IRModules.h (diff)
The file was addedmlir/test/Bindings/Python/context_lifecycle.py
The file was modifiedmlir/lib/CAPI/IR/IR.cpp (diff)
Commit 0ea2a57274225066ad81e971659222cf9ee1d12d by thakis
clangd:  Make ompletionModelCodegen.py tpy2.7 compatible

LLVM still supports Python 2.7, so unbreak bots that still run that.
In a separate commit so that this is easy to revert once we drop
support :)
The file was modifiedclang-tools-extra/clangd/quality/CompletionModelCodegen.py (diff)
Commit 442801a7b9b5460114498c48c12b8af40e495188 by thakis
[gn build] (manually) port 9b6765e784b3
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn (diff)
Commit ae0ecb3c505e013659d9fa2668c55d93c1fff0b9 by kparzysz
Pre-commit test for CSEing masked loads/stores
The file was addedllvm/test/Transforms/EarlyCSE/masked-intrinsics-unequal-masks.ll
Commit 9b346f974ea606e17064969568568da30394c7a2 by thakis
[gn build] Do not sync filenames containing variable references
The file was modifiedllvm/utils/gn/build/sync_source_lists_from_cmake.py (diff)
Commit b168bbfae42e792542b4ced8729599524b9759c5 by vmiklos
[clang-format] Recognize "hxx" as a C++ header in clang-format-diff.py

And shift "proto" to the next line to avoid a too long line.

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D87931
The file was modifiedclang/tools/clang-format/clang-format-diff.py (diff)