aboutsummaryrefslogtreecommitdiff
path: root/mlir
diff options
context:
space:
mode:
authorChristian Sigg <chsigg@users.noreply.github.com>2024-03-26 10:23:47 +0100
committerGitHub <noreply@github.com>2024-03-26 10:23:47 +0100
commiteb70b485a91361eee83d3744d1bd3e4c3a23692f (patch)
treec2cfe321e027fa166746fb3be0011c860ac88b07 /mlir
parent4d315ff382de912e5129b417c997116851088d4b (diff)
downloadllvm-eb70b485a91361eee83d3744d1bd3e4c3a23692f.zip
llvm-eb70b485a91361eee83d3744d1bd3e4c3a23692f.tar.gz
llvm-eb70b485a91361eee83d3744d1bd3e4c3a23692f.tar.bz2
[mlir][bazel] Export more headers by a single target only. (#86637)
Ideally, header files should be used by only one target, but this is hard because CMake is less strict with headers (no layering check). But even with bazel, headers should only be exported once in the `hdrs` attribute. Other targets may use them in the `srcs` attribute to avoid circular dependencies.
Diffstat (limited to 'mlir')
-rw-r--r--mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h b/mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
index 06df4a6..9341a5a 100644
--- a/mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
+++ b/mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
@@ -30,7 +30,6 @@
#include "mlir/Interfaces/InferTypeOpInterface.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "mlir/Support/ThreadLocalCache.h"
-#include "mlir/Transforms/Mem2Reg.h"
#include "llvm/ADT/PointerEmbeddedInt.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/LLVMContext.h"