[Mlir-commits] [mlir] 6aaaeac - [mlir][tosa] Include TosaDialect as include in tosa PassDetail.h

Rob Suderman llvmlistbot at llvm.org
Thu Jul 1 17:09:50 PDT 2021


Author: Rob Suderman
Date: 2021-07-01T17:09:05-07:00
New Revision: 6aaaeacd3d968885ef65d30283b62945ce7e6ce0

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

LOG: [mlir][tosa] Include TosaDialect as include in tosa PassDetail.h

Tosa's PassDetail.h may be used in non-TOSA transforms. Include
TosaDialect to avoid transient dependency.

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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Tosa/Transforms/PassDetail.h b/mlir/include/mlir/Dialect/Tosa/Transforms/PassDetail.h
index 1d7ad62cfd24..d7084452bd0e 100644
--- a/mlir/include/mlir/Dialect/Tosa/Transforms/PassDetail.h
+++ b/mlir/include/mlir/Dialect/Tosa/Transforms/PassDetail.h
@@ -11,6 +11,7 @@
 
 #include "mlir/Dialect/StandardOps/IR/Ops.h"
 #include "mlir/Dialect/Tensor/IR/Tensor.h"
+#include "mlir/Dialect/Tosa/IR/TosaOps.h"
 #include "mlir/Pass/Pass.h"
 
 namespace mlir {


        


More information about the Mlir-commits mailing list