[Mlir-commits] [mlir] 334e377 - [MLIR][Memref] Remove unnecessary #include

John Demme llvmlistbot at llvm.org
Thu May 11 19:49:32 PDT 2023


Author: John Demme
Date: 2023-05-12T02:47:49Z
New Revision: 334e3776d4b8ee8a87afe75e0768b440843f7be6

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

LOG: [MLIR][Memref] Remove unnecessary #include

MemRefMem2Ref was unnecessarily including a header from Complex and not
including it as a cmake dep (causing some builds to fail).

Added: 
    

Modified: 
    mlir/lib/Dialect/MemRef/IR/MemRefMem2Reg.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/MemRef/IR/MemRefMem2Reg.cpp b/mlir/lib/Dialect/MemRef/IR/MemRefMem2Reg.cpp
index 5b97f7a3e429d..d10c6ca12bdee 100644
--- a/mlir/lib/Dialect/MemRef/IR/MemRefMem2Reg.cpp
+++ b/mlir/lib/Dialect/MemRef/IR/MemRefMem2Reg.cpp
@@ -12,7 +12,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "mlir/Dialect/Arith/IR/Arith.h"
-#include "mlir/Dialect/Complex/IR/Complex.h"
 #include "mlir/Dialect/MemRef/IR/MemRef.h"
 #include "llvm/ADT/TypeSwitch.h"
 


        


More information about the Mlir-commits mailing list