[clang-tidy][NFC]remove deps of clang in clang tidy test (#116588)
[llvm-project.git] / mlir / test / Bytecode / resources_elision.mlir
blobbca70012f47a9499f3090069cdda3290f8b29573
1 // RUN: mlir-opt -emit-bytecode -elide-resource-data-from-bytecode %s | mlir-opt | FileCheck %s
3 // CHECK-LABEL: @TestDialectResources
4 module @TestDialectResources attributes {
5   // CHECK: bytecode.test = dense_resource<decl_resource> : tensor<2xui32>
6   // CHECK: bytecode.test2 = dense_resource<resource> : tensor<4xf64>
7   // CHECK: bytecode.test3 = dense_resource<resource_2> : tensor<4xf64>
8   bytecode.test = dense_resource<decl_resource> : tensor<2xui32>,
9   bytecode.test2 = dense_resource<resource> : tensor<4xf64>,
10   bytecode.test3 = dense_resource<resource_2> : tensor<4xf64>
11 } {}
13 // CHECK-NOT: dialect_resources
14 {-#
15   dialect_resources: {
16     builtin: {
17       resource: "0x08000000010000000000000002000000000000000300000000000000",
18       resource_2: "0x08000000010000000000000002000000000000000300000000000000"
19     }
20   }
21 #-}