[Mlir-commits] [mlir] f878e1a - [mlir] Harmonize TOSA include guards

Marius Brehler llvmlistbot at llvm.org
Wed May 19 13:45:36 PDT 2021


Author: Marius Brehler
Date: 2021-05-19T22:45:06+02:00
New Revision: f878e1af9faa318830d4169e91422a0777c54db7

URL: https://github.com/llvm/llvm-project/commit/f878e1af9faa318830d4169e91422a0777c54db7
DIFF: https://github.com/llvm/llvm-project/commit/f878e1af9faa318830d4169e91422a0777c54db7.diff

LOG: [mlir] Harmonize TOSA include guards

Reviewed By: sjarus

Differential Revision: https://reviews.llvm.org/D102802

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
    mlir/include/mlir/Dialect/Tosa/Transforms/PassDetail.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
index 4208adf42f370..0af72312af28f 100644
--- a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
+++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
@@ -10,8 +10,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef DIALECT_TOSA_IR_TOSA_OPS_H
-#define DIALECT_TOSA_IR_TOSA_OPS_H
+#ifndef MLIR_DIALECT_TOSA_IR_TOSAOPS_H
+#define MLIR_DIALECT_TOSA_IR_TOSAOPS_H
 
 #include "mlir/Dialect/Quant/QuantOps.h"
 #include "mlir/Dialect/Traits.h"
@@ -35,4 +35,4 @@ namespace tosa {
 #define GET_OP_CLASSES
 #include "mlir/Dialect/Tosa/IR/TosaOps.h.inc"
 
-#endif // TOSA_OPS_H
+#endif // MLIR_DIALECT_TOSA_IR_TOSAOPS_H

diff  --git a/mlir/include/mlir/Dialect/Tosa/Transforms/PassDetail.h b/mlir/include/mlir/Dialect/Tosa/Transforms/PassDetail.h
index 2b5822466d153..004c9cee251e5 100644
--- a/mlir/include/mlir/Dialect/Tosa/Transforms/PassDetail.h
+++ b/mlir/include/mlir/Dialect/Tosa/Transforms/PassDetail.h
@@ -6,8 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef DIALECT_TOSA_TRANSFORMS_PASSDETAIL_H
-#define DIALECT_TOSA_TRANSFORMS_PASSDETAIL_H
+#ifndef MLIR_DIALECT_TOSA_TRANSFORMS_PASSDETAIL_H
+#define MLIR_DIALECT_TOSA_TRANSFORMS_PASSDETAIL_H
 
 #include "mlir/Pass/Pass.h"
 
@@ -18,4 +18,4 @@ namespace mlir {
 
 } // end namespace mlir
 
-#endif // DIALECT_TOSA_TRANSFORMS_PASSDETAIL_H
+#endif // MLIR_DIALECT_TOSA_TRANSFORMS_PASSDETAIL_H


        


More information about the Mlir-commits mailing list