Skip to content

Commit

Permalink
[Codegen] Remove unused NVGPU includes (#14976)
Browse files Browse the repository at this point in the history
A few unused includes of NVGPU dialect made its way into LLVMCPU/others
after the codegen pass split.
  • Loading branch information
qedawkins authored Sep 14, 2023
1 parent 08ca40a commit e5cdfb3
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion compiler/src/iree/compiler/Codegen/Common/PassDetail.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/NVGPU/IR/NVGPUDialect.h"
#include "mlir/Pass/Pass.h"

namespace mlir {
Expand Down
1 change: 0 additions & 1 deletion compiler/src/iree/compiler/Codegen/LLVMCPU/PassDetail.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/NVGPU/IR/NVGPUDialect.h"
#include "mlir/Pass/Pass.h"

namespace mlir {
Expand Down
1 change: 0 additions & 1 deletion compiler/src/iree/compiler/Codegen/SPIRV/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ iree_compiler_cc_library(
"//compiler/src/iree/compiler/Utils",
"@llvm-project//mlir:LinalgTransforms",
"@llvm-project//mlir:MemRefDialect",
"@llvm-project//mlir:NVGPUDialect",
"@llvm-project//mlir:Pass",
"@llvm-project//mlir:Transforms",
],
Expand Down
1 change: 0 additions & 1 deletion compiler/src/iree/compiler/Codegen/SPIRV/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ iree_cc_library(
::PassesIncGen
MLIRLinalgTransforms
MLIRMemRefDialect
MLIRNVGPUDialect
MLIRPass
MLIRTransforms
iree::compiler::Codegen::Dialect::IREECodegenDialect
Expand Down
1 change: 0 additions & 1 deletion compiler/src/iree/compiler/Codegen/SPIRV/PassDetail.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/NVGPU/IR/NVGPUDialect.h"
#include "mlir/Pass/Pass.h"

namespace mlir {
Expand Down

0 comments on commit e5cdfb3

Please sign in to comment.