[mlir] [llvm] [mlir][bufferization] Add `BufferViewFlowOpInterface` (PR #78718)

Matthias Springer via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 00:40:57 PST 2024


================
@@ -0,0 +1,45 @@
+//===- BufferViewFlowOpInterfaceImpl.cpp - Buffer View Flow Analysis ------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "mlir/Dialect/Arith/Transforms/BufferViewFlowOpInterfaceImpl.h"
+
+#include "mlir/Dialect/Arith/IR/Arith.h"
+#include "mlir/Dialect/Bufferization/IR/BufferViewFlowOpInterface.h"
+
+using namespace mlir;
+using namespace mlir::bufferization;
+using namespace mlir::arith;
----------------
matthias-springer wrote:

The `arith` one is not needed indeed.

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


More information about the llvm-commits mailing list