Skip to content

Commit 39e3fc3

Browse files
committed
Add test
1 parent 2cdfa7d commit 39e3fc3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mlir/test/Conversion/TensorToSPIRV/tensor-ops-to-spirv.mlir

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,10 @@ func.func @tensor_2d_empty() -> () {
7979
%x = arith.constant dense<> : tensor<2x0xi32>
8080
return
8181
}
82+
83+
// CHECK-LABEL: func @very_large_tensor
84+
// CHECK-NEXT: arith.constant dense<1>
85+
func.func @very_large_tensor() -> () {
86+
%x = arith.constant dense<1> : tensor<4294967296xi32>
87+
return
88+
}

0 commit comments

Comments
 (0)