[Mlir-commits] [mlir] 745ddd2 - [mlir] Add include guard to TOSA tblgen passes
Marius Brehler
llvmlistbot at llvm.org
Wed May 19 13:03:00 PDT 2021
Author: Marius Brehler
Date: 2021-05-19T22:02:31+02:00
New Revision: 745ddd27eaefee97058e40a655de648645a9af33
URL: https://github.com/llvm/llvm-project/commit/745ddd27eaefee97058e40a655de648645a9af33
DIFF: https://github.com/llvm/llvm-project/commit/745ddd27eaefee97058e40a655de648645a9af33.diff
LOG: [mlir] Add include guard to TOSA tblgen passes
Reviewed By: sjarus, stellaraccident
Differential Revision: https://reviews.llvm.org/D102800
Added:
Modified:
mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td b/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
index 09998037518ab..a29a1676c2647 100644
--- a/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
+++ b/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
@@ -10,6 +10,9 @@
//
//===----------------------------------------------------------------------===//
+#ifndef MLIR_DIALECT_TOSA_TRANSFORMS_PASSES
+#define MLIR_DIALECT_TOSA_TRANSFORMS_PASSES
+
include "mlir/Pass/PassBase.td"
def TosaMakeBroadcastable : FunctionPass<"tosa-make-broadcastable"> {
@@ -24,3 +27,5 @@ def TosaMakeBroadcastable : FunctionPass<"tosa-make-broadcastable"> {
let constructor = "createTosaMakeBroadcastablePass()";
}
+
+#endif // MLIR_DIALECT_TOSA_TRANSFORMS_PASSES
More information about the Mlir-commits
mailing list