Skip to content

Commit 5c2b72f

Browse files
ianaylkuhar
andauthored
Change arg spacing in mlir tests
Co-authored-by: Jakub Kuderski <[email protected]>
1 parent ffc00d9 commit 5c2b72f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/test/Conversion/ArithToSPIRV/arith-to-spirv.mlir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -735,15 +735,15 @@ func.func @index_castui4(%arg0: index) {
735735
}
736736

737737
// CHECK-LABEL: index_castindexi1_1
738-
func.func @index_castindexi1_1(%arg0 : index) {
738+
func.func @index_castindexi1_1(%arg0: index) {
739739
// CHECK: %[[ZERO:.+]] = spirv.Constant 0 : i32
740740
// CHECK: spirv.INotEqual %[[ZERO]], %{{.+}} : i32
741741
%0 = arith.index_cast %arg0 : index to i1
742742
return
743743
}
744744

745745
// CHECK-LABEL: index_castindexi1_2
746-
func.func @index_castindexi1_2(%arg0 : vector<1xindex>) -> vector<1xi1> {
746+
func.func @index_castindexi1_2(%arg0: vector<1xindex>) -> vector<1xi1> {
747747
// Single-element vectors do not exist in SPIRV.
748748
// CHECK: %[[ZERO:.+]] = spirv.Constant 0 : i32
749749
// CHECK: spirv.INotEqual %[[ZERO]], %{{.+}} : i32
@@ -752,7 +752,7 @@ func.func @index_castindexi1_2(%arg0 : vector<1xindex>) -> vector<1xi1> {
752752
}
753753

754754
// CHECK-LABEL: index_castindexi1_3
755-
func.func @index_castindexi1_3(%arg0 : vector<3xindex>) {
755+
func.func @index_castindexi1_3(%arg0: vector<3xindex>) {
756756
// CHECK: %[[ZERO:.+]] = spirv.Constant dense<0> : vector<3xi32>
757757
// CHECK: spirv.INotEqual %[[ZERO]], %{{.+}} : vector<3xi32>
758758
%0 = arith.index_cast %arg0 : vector<3xindex> to vector<3xi1>

0 commit comments

Comments
 (0)