@@ -1023,8 +1023,8 @@ func.func @sparse_print(%arg0: tensor<10x10xf64>) {
1023
1023
}>
1024
1024
1025
1025
func.func @sparse_extract_iter_space (%sp : tensor <4 x8 xf32 , #COO >, %it1 : !sparse_tensor.iterator <#COO , lvls = 2 >) {
1026
- // expected-error@+1 {{'sparse_tensor.iteration.extract_space ' expect larger level upper bound than lower bound}}
1027
- %l1 = sparse_tensor.iteration.extract_space %sp at %it1 lvls = 2 to 0 : tensor <4 x8 xf32 , #COO >, !sparse_tensor.iterator <#COO , lvls = 2 >
1026
+ // expected-error@+1 {{'sparse_tensor.extract_iteration_space ' expect larger level upper bound than lower bound}}
1027
+ %l1 = sparse_tensor.extract_iteration_space %sp at %it1 lvls = 2 to 0 : tensor <4 x8 xf32 , #COO >, !sparse_tensor.iterator <#COO , lvls = 2 >
1028
1028
return
1029
1029
}
1030
1030
@@ -1038,8 +1038,8 @@ func.func @sparse_extract_iter_space(%sp : tensor<4x8xf32, #COO>, %it1 : !sparse
1038
1038
}>
1039
1039
1040
1040
func.func @sparse_extract_iter_space (%sp : tensor <4 x8 xf32 , #COO >, %it1 : !sparse_tensor.iterator <#COO , lvls = 0 >) {
1041
- // expected-error@+1 {{'sparse_tensor.iteration.extract_space ' op parent iterator should be specified iff level lower bound equals 0}}
1042
- %l1 = sparse_tensor.iteration.extract_space %sp at %it1 lvls = 0 : tensor <4 x8 xf32 , #COO >, !sparse_tensor.iterator <#COO , lvls = 0 >
1041
+ // expected-error@+1 {{'sparse_tensor.extract_iteration_space ' op parent iterator should be specified iff level lower bound equals 0}}
1042
+ %l1 = sparse_tensor.extract_iteration_space %sp at %it1 lvls = 0 : tensor <4 x8 xf32 , #COO >, !sparse_tensor.iterator <#COO , lvls = 0 >
1043
1043
return
1044
1044
}
1045
1045
@@ -1053,8 +1053,8 @@ func.func @sparse_extract_iter_space(%sp : tensor<4x8xf32, #COO>, %it1 : !sparse
1053
1053
}>
1054
1054
1055
1055
func.func @sparse_extract_iter_space (%sp : tensor <4 x8 xf32 , #COO >) {
1056
- // expected-error@+1 {{'sparse_tensor.iteration.extract_space ' op parent iterator should be specified iff level lower bound equals 0}}
1057
- %l1 = sparse_tensor.iteration.extract_space %sp lvls = 1 : tensor <4 x8 xf32 , #COO >
1056
+ // expected-error@+1 {{'sparse_tensor.extract_iteration_space ' op parent iterator should be specified iff level lower bound equals 0}}
1057
+ %l1 = sparse_tensor.extract_iteration_space %sp lvls = 1 : tensor <4 x8 xf32 , #COO >
1058
1058
return
1059
1059
}
1060
1060
@@ -1075,8 +1075,8 @@ func.func @sparse_extract_iter_space(%sp : tensor<4x8xf32, #COO>) {
1075
1075
}>
1076
1076
1077
1077
func.func @sparse_extract_iter_space (%sp : tensor <4 x8 xf32 , #COO >, %it1 : !sparse_tensor.iterator <#CSR , lvls = 0 >) {
1078
- // expected-error@+1 {{'sparse_tensor.iteration.extract_space ' op mismatch in parent iterator encoding and iteration space encoding.}}
1079
- %l1 = sparse_tensor.iteration.extract_space %sp at %it1 lvls = 1 : tensor <4 x8 xf32 , #COO >, !sparse_tensor.iterator <#CSR , lvls = 0 >
1078
+ // expected-error@+1 {{'sparse_tensor.extract_iteration_space ' op mismatch in parent iterator encoding and iteration space encoding.}}
1079
+ %l1 = sparse_tensor.extract_iteration_space %sp at %it1 lvls = 1 : tensor <4 x8 xf32 , #COO >, !sparse_tensor.iterator <#CSR , lvls = 0 >
1080
1080
return
1081
1081
}
1082
1082
@@ -1090,7 +1090,7 @@ func.func @sparse_extract_iter_space(%sp : tensor<4x8xf32, #COO>, %it1 : !sparse
1090
1090
}>
1091
1091
1092
1092
func.func @sparse_extract_iter_space (%sp : tensor <4 x8 xf32 , #COO >, %it1 : !sparse_tensor.iterator <#COO , lvls = 0 >) {
1093
- // expected-error@+1 {{'sparse_tensor.iteration.extract_space ' op parent iterator should be used to extract an iteration space from a consecutive level.}}
1094
- %l1 = sparse_tensor.iteration.extract_space %sp at %it1 lvls = 2 : tensor <4 x8 xf32 , #COO >, !sparse_tensor.iterator <#COO , lvls = 0 >
1093
+ // expected-error@+1 {{'sparse_tensor.extract_iteration_space ' op parent iterator should be used to extract an iteration space from a consecutive level.}}
1094
+ %l1 = sparse_tensor.extract_iteration_space %sp at %it1 lvls = 2 : tensor <4 x8 xf32 , #COO >, !sparse_tensor.iterator <#COO , lvls = 0 >
1095
1095
return
1096
1096
}
0 commit comments