Changes

Summary

  1. [AMDGPU] Refactor shouldExpandAtomicRMWInIR(). NFC. (details)
  2. [mlir][sparse][capi][python] add sparse tensor passes (details)
Commit bd00106d1e77e4de769ce0d143c97a076f25c92b by Stanislav.Mekhanoshin
[AMDGPU] Refactor shouldExpandAtomicRMWInIR(). NFC.

This is logic simplification for better readability.

Differential Revision: https://reviews.llvm.org/D102371
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit 58d12332a4730226d0a640136f06f3bd0861f1a5 by ajcbik
[mlir][sparse][capi][python] add sparse tensor passes

First set of "boilerplate" to get sparse tensor
passes available through CAPI and Python.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D102362
The file was modifiedmlir/lib/CAPI/Dialect/CMakeLists.txt
The file was addedmlir/test/python/dialects/sparse_tensor/passes.py
The file was addedmlir/lib/Bindings/Python/SparseTensorPasses.cpp
The file was addedmlir/lib/CAPI/Dialect/SparseTensorPasses.cpp
The file was modifiedmlir/lib/Bindings/Python/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir-c/Dialect/SparseTensor.h
The file was modifiedmlir/python/mlir/dialects/sparse_tensor.py