@@ -43,6 +43,7 @@ def MemorySpaceAttrInterface : AttrInterface<"MemorySpaceAttrInterface"> {
4343 /*args=*/ (ins "::mlir::Type":$type,
4444 "::mlir::ptr::AtomicOrdering":$ordering,
4545 "std::optional<int64_t>":$alignment,
46+ "std::optional<std::reference_wrapper<const ::mlir::DataLayout>>":$dataLayout,
4647 "::llvm::function_ref<::mlir::InFlightDiagnostic()>":$emitError)
4748 >,
4849 InterfaceMethod<
@@ -58,6 +59,7 @@ def MemorySpaceAttrInterface : AttrInterface<"MemorySpaceAttrInterface"> {
5859 /*args=*/ (ins "::mlir::Type":$type,
5960 "::mlir::ptr::AtomicOrdering":$ordering,
6061 "std::optional<int64_t>":$alignment,
62+ "std::optional<std::reference_wrapper<const ::mlir::DataLayout>>":$dataLayout,
6163 "::llvm::function_ref<::mlir::InFlightDiagnostic()>":$emitError)
6264 >,
6365 InterfaceMethod<
@@ -74,6 +76,7 @@ def MemorySpaceAttrInterface : AttrInterface<"MemorySpaceAttrInterface"> {
7476 "::mlir::Type":$type,
7577 "::mlir::ptr::AtomicOrdering":$ordering,
7678 "std::optional<int64_t>":$alignment,
79+ "std::optional<std::reference_wrapper<const ::mlir::DataLayout>>":$dataLayout,
7780 "::llvm::function_ref<::mlir::InFlightDiagnostic()>":$emitError)
7881 >,
7982 InterfaceMethod<
@@ -91,6 +94,7 @@ def MemorySpaceAttrInterface : AttrInterface<"MemorySpaceAttrInterface"> {
9194 "::mlir::ptr::AtomicOrdering":$successOrdering,
9295 "::mlir::ptr::AtomicOrdering":$failureOrdering,
9396 "std::optional<int64_t>":$alignment,
97+ "std::optional<std::reference_wrapper<const ::mlir::DataLayout>>":$dataLayout,
9498 "::llvm::function_ref<::mlir::InFlightDiagnostic()>":$emitError)
9599 >,
96100 InterfaceMethod<
0 commit comments