diff --git a/compiler/src/iree/compiler/Dialect/Stream/Transforms/test/encode_host_tensors_packing_i1_attr.mlir b/compiler/src/iree/compiler/Dialect/Stream/Transforms/test/encode_host_tensors_packing_i1_attr.mlir deleted file mode 100644 index f3fa8de8cdb9c..0000000000000 --- a/compiler/src/iree/compiler/Dialect/Stream/Transforms/test/encode_host_tensors_packing_i1_attr.mlir +++ /dev/null @@ -1,29 +0,0 @@ -// RUN: iree-opt --split-input-file --iree-stream-encode-host-tensors %s | FileCheck %s - -#packed = #iree_encoding.packed_storage -func.func @unaligned_i1_size() -> index { - %0 = stream.tensor.sizeof tensor<12xi1, #packed> : index - return %0 : index -} -// CHECK: func @unaligned_i1_size() -> index { -// CHECK-DAG: %[[C2:.+]] = arith.constant 2 : index -// CHECK: return %[[C2]] : index - -// ----- - -#packed = #iree_encoding.packed_storage -func.func @aligned_i1_size() -> index { - %0 = stream.tensor.sizeof tensor<24xi1, #packed> : index - return %0 : index -} - -// CHECK: func @aligned_i1_size() -> index { -// CHECK-DAG: %[[C3:.+]] = arith.constant 3 : index -// CHECK: return %[[C3]] : index - -// ----- - -#packed = #iree_encoding.packed_storage -func.func @packed_i1_input_output(%input : tensor<16xi1, #packed>) -> tensor<16xi1, #packed> { - return %input : tensor<16xi1, #packed> -} diff --git a/compiler/src/iree/compiler/Dialect/Stream/Transforms/test/encode_host_tensors_packing_i1_experimental_clopt.mlir b/compiler/src/iree/compiler/Dialect/Stream/Transforms/test/encode_host_tensors_packing_i1_experimental_clopt.mlir deleted file mode 100644 index c96e05270d126..0000000000000 --- a/compiler/src/iree/compiler/Dialect/Stream/Transforms/test/encode_host_tensors_packing_i1_experimental_clopt.mlir +++ /dev/null @@ -1,23 +0,0 @@ -// This is only used to test the experimental packing flag. When the default -// is changed the encode_host_tensors.mlir test should be updated and used -// instead and this file should be deleted. - -// RUN: iree-opt --split-input-file --iree-stream-encode-host-tensors --iree-experimental-packed-i1-storage %s | FileCheck %s - -// CHECK-LABEL: @tensorSizeOfUnalignedPackedI1 -util.func @tensorSizeOfUnalignedPackedI1() -> index { - // CHECK-DAG: %[[C2:.+]] = arith.constant 2 : index - %0 = stream.tensor.sizeof tensor<12xi1> : index - // CHECK: return %[[C2]] : index - util.return %0 : index -} - -// ----- - -// CHECK-LABEL: @tensorSizeOfAlignedPackedI1 -util.func @tensorSizeOfAlignedPackedI1() -> index { - // CHECK-DAG: %[[C3:.+]] = arith.constant 3 : index - %0 = stream.tensor.sizeof tensor<24xi1> : index - // CHECK: util.return %[[C3]] : index - util.return %0 : index -}