Skip to content

Commit

Permalink
remove deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lialan committed Feb 5, 2025
1 parent 3d5d0bb commit 6e9fa41
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 61 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,8 @@ EncodingAttr getEncodingAttr(RankedTensorType type) {

bool hasPackedStorageAttr(Type type) {
if (auto tensorType = dyn_cast<RankedTensorType>(type)) {
auto encoding = tensorType.getEncoding();
if (!encoding) {
return false;
}
return dyn_cast_or_null<PackedStorageAttr>(encoding) != nullptr;
return dyn_cast_or_null<PackedStorageAttr>(tensorType.getEncoding()) !=
nullptr;
}
return false;
}
Expand Down
3 changes: 1 addition & 2 deletions compiler/src/iree/compiler/Dialect/Stream/IR/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ iree_compiler_cc_library(
":StreamInterfacesGen",
":StreamOpsGen",
":StreamTypesGen",
"//compiler/src/iree/compiler/Codegen/Common",
"//compiler/src/iree/compiler/Dialect/Util/IR",
"//compiler/src/iree/compiler/Dialect/Encoding/IR",
"//compiler/src/iree/compiler/Utils",
"@llvm-project//llvm:Support",
"@llvm-project//mlir:ArithDialect",
Expand Down
3 changes: 1 addition & 2 deletions compiler/src/iree/compiler/Dialect/Stream/IR/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ iree_cc_library(
MLIRTensorDialect
MLIRTransformUtils
MLIRViewLikeInterface
iree::compiler::Codegen::Common
iree::compiler::Dialect::Util::IR
iree::compiler::Dialect::Encoding::IR
iree::compiler::Utils
PUBLIC
)
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 6e9fa41

Please sign in to comment.