[Mlir-commits] [mlir] [mlir][ptr] Add the `ptradd` and `type_offset` ops, and `int_space` attr (PR #136434)
Mehdi Amini
llvmlistbot at llvm.org
Sun Apr 20 05:01:11 PDT 2025
================
@@ -12,6 +12,69 @@
include "mlir/Dialect/Ptr/IR/PtrDialect.td"
include "mlir/Dialect/Ptr/IR/PtrAttrDefs.td"
include "mlir/Dialect/Ptr/IR/MemorySpaceInterfaces.td"
+include "mlir/Interfaces/SideEffectInterfaces.td"
include "mlir/IR/OpAsmInterface.td"
+//===----------------------------------------------------------------------===//
+// PtrAddOp
+//===----------------------------------------------------------------------===//
+
+def Ptr_PtrAddOp : Pointer_Op<"ptradd", [
----------------
joker-eph wrote:
LLVM does not use `_` but I think we do in MLIR dialects (other than LLVM)?
https://github.com/llvm/llvm-project/pull/136434
More information about the Mlir-commits
mailing list