[Mlir-commits] [mlir] Make the index dialect inlineable. (PR #155290)

Mehdi Amini llvmlistbot at llvm.org
Tue Aug 26 00:08:40 PDT 2025


================
@@ -16,9 +17,23 @@ using namespace mlir::index;
 // IndexDialect
 //===----------------------------------------------------------------------===//
 
+namespace {
+/// This class defines the interface for handling inlining for index
+/// dialect operations.
+struct IndexInlinerInterface : public DialectInlinerInterface {
+  using DialectInlinerInterface::DialectInlinerInterface;
+
+  /// All arithmetic dialect ops can be inlined.
----------------
joker-eph wrote:

```suggestion
  /// All index dialect ops can be inlined.
```

https://github.com/llvm/llvm-project/pull/155290


More information about the Mlir-commits mailing list